pub fn maybe_needs_tokens(attrs: &[Attribute]) -> bool