ReflectionClass::isInstance
( excerpt from http://php.net/manual/en/reflectionclass.isinstance.php )
public function isInstance(
mixed $obj,
): bool;
Checks if an object is an instance of a class.
Parameters
mixed $obj
Returns
bool
- Returns TRUE on success or FALSE on failure.