fn registered_attribute_modifier_matches( predicate: &AttributeModifierEntryPredicate, modifier: &ItemAttributeModifierEntry, ) -> bool