Checks if the given object_or_class is of this class or has this class as one of its parents.
A class name or an object instance.
The class name
If this parameter set to false, string class name as object_or_class is not allowed. This also prevents from calling autoloader if the class doesn't exist.
Returns true if the object is of this class or has this class as one of its parents, false otherwise.