protected function isValidPropertyValue($value)
    {
        return (is_scalar($value) ||
               (is_object($value) &&
                ((($value instanceof NodeInterface) && ($value->getGraph() === $this->graph)) ||
                 ($value instanceof Value))));
    }
protected function isValidPropertyValue($value)
    {
        return (is_scalar($value) ||
               (is_object($value) &&
                ((($value instanceof NodeInterface) && ($value->getGraph() === $this->graph)) ||
                 ($value instanceof Value))));
    }
protected function isValidPropertyValue ( $ value ) { return ( is_scalar ( $ value ) || ( is_object ( $ value ) && ( ( ( $ value instanceof NodeInterface ) && ( $ value -> getGraph ( ) === $ this -> graph ) ) || ( $ value instanceof Value ) ) ) ) ; }
Checks whether a value is a valid property value.

@param mixed $value The value to check.

@return bool Returns true if the value is a valid property value;
false otherwise.
Checks whether a value is a valid property value .