pub(crate) fn contains_name(attrs: &[Attribute], name: Symbol) -> bool