(PHP 4, PHP 5, PHP 7)
Checks if the object has this class as one of its parents or implements it.
bool is_subclass_of ( mixed $object, string $class_name [, bool $allow_string = TRUE ] )
Checks if the given object has the class class_name as one of its parents or implements it.
Parameters:
object
A class name or an object instance. No error is generated if the class does