has_attribute function

Check a schema for a given attribute name