pub fn has_attr(attrs: &[Attribute], symbol: Symbol) -> bool