private function isValidObjectInstance($object)
    {
        if (!is_null($this->classname) && !$this->isInstanceOrSubclassOf($object)) {
            return false;
        }

        return true;
    }
private function isValidObjectInstance($object)
    {
        if (!is_null($this->classname) && !$this->isInstanceOrSubclassOf($object)) {
            return false;
        }

        return true;
    }
private function isValidObjectInstance ( $ object ) { if ( ! is_null ( $ this -> classname ) && ! $ this -> isInstanceOrSubclassOf ( $ object ) ) { return false ; } return true ; }
Verify's if the given object has a valid instance.

@param object $object

@return bool
Verify s if the given object has a valid instance .