pub fn check_name(&self, name: Symbol) -> bool {
        let matches = self.has_name(name);
        if matches {
            mark_used(self);
        }
        matches
    }
/// Returns `true` if the attribute's path matches the argument. If it matches, then the
/// attribute is marked as used.
Returns `true` if the attribute's path matches the argument. If it matches, then the
attribute is marked as used.
Returns ` true ` if the attribute ' s path matches the argument . If it matches then the attribute is marked as used .
pub fn check_name(&self, name: Symbol) -> bool {
        let matches = self.has_name(name);
        if matches {
            mark_used(self);
        }
        matches
    }
pub fn check_name ( & self , name : Symbol ) -> bool { let matches = self . has_name ( name ) ; if matches { mark_used ( self ) ; } matches }
Returns `true` if the attribute's path matches the argument.
Returns ` true ` if the attribute ' s path matches the argument .
&self
name
Symbol