anchor: Object:typeOf
  Checks whether an object is of a certain type. If the object has the type with the specified name in its hierarchy, this function will return true.
  b = Object:typeOf( name )
  name string The name of the type to check for.
  b boolean True if the object is of the specified type, false otherwise.