fn contains_deprecated(attrs: &[Attribute]) -> bool
Check whether the given attributes contains one of:
#[deprecated]
#[allow(deprecated)]