public function isInstanceOf(Interfaces\JavaObject $javaObject, $className): bool
    {
        return $this->driver->isInstanceOf($javaObject, $className);
    }
public function isInstanceOf(Interfaces\JavaObject $javaObject, $className): bool
    {
        return $this->driver->isInstanceOf($javaObject, $className);
    }
public function isInstanceOf ( Interfaces \ JavaObject $ javaObject , $ className ) : bool { return $ this -> driver -> isInstanceOf ( $ javaObject , $ className ) ; }
Checks whether object is an instance of a class or interface.

@throws \Soluble\Japha\Bridge\Exception\BrokenConnectionException
@throws \Soluble\Japha\Bridge\Exception\ClassNotFoundException
@throws \Soluble\Japha\Bridge\Exception\InvalidArgumentException

@param Interfaces\JavaObject                             $javaObject
@param string|Interfaces\JavaObject|Interfaces\JavaClass $className  java class name

@return bool
Checks whether object is an instance of a class or interface .