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