Use the attribute enums to query if a function has an attribute.