instanceOf() to test whether an object is of a given class or one of its subclasses.