Returns whether the object belongs to a given widget type
Signature:
isType = UIObject:IsObjectType("type")
Arguments:
type- Name of an object type (e.g.Frame,Button,FontString, etc.) (string)
Returns:
isType-1if the object belongs to the given type (or a subtype thereof); otherwisenil(1nil)