pub fn check_by_name(entries: &[Entry], name: &str) -> bool {
        for entry in entries {
            if entry.name == name {
                return true;
            }
        }
        false
    }
/// Return true if there is any entry with the given name
Return true if there is any entry with the given name
Return true if there is any entry with the given name
pub fn check_by_name(entries: &[Entry], name: &str) -> bool {
        for entry in entries {
            if entry.name == name {
                return true;
            }
        }
        false
    }
pub fn check_by_name ( entries : & [ Entry ] , name : & str ) -> bool { for entry in entries { if entry . name == name { return true ; } } false }
Return true if there is any entry with the given name
Return true if there is any entry with the given name
entries
&[Entry]
name
&str
entries
&[Entry]
name
&str