GraphAware\Neo4j\OGM\Metadata\LabeledPropertyMetadata::isLabelSet PHP Method

isLabelSet() public method

public isLabelSet ( object $object ) : boolean
$object object
return boolean
    public function isLabelSet($object)
    {
        $this->reflectionProperty->setAccessible(true);
        $v = $this->reflectionProperty->getValue($object);
        if (true === $v) {
            return true;
        }
        return false;
    }