HasAttribute (object, string attribute name)
Returns true if the object has the specified attribute.
NOTE: This a hard-coded function.