Retrieves whether the instance is an instance of a specified type.
true if the instance is an instance of the specified type; otherwise, the method returns false.