private function isTreeNode(ClassMetadata $classMetadata)
    {
        return $this->getClassAnalyzer()->hasTrait(
            $classMetadata->reflClass,
            $this->nodeTrait,
            $this->isRecursive
        );
    }
private function isTreeNode(ClassMetadata $classMetadata)
    {
        return $this->getClassAnalyzer()->hasTrait(
            $classMetadata->reflClass,
            $this->nodeTrait,
            $this->isRecursive
        );
    }
private function isTreeNode ( ClassMetadata $ classMetadata ) { return $ this -> getClassAnalyzer ( ) -> hasTrait ( $ classMetadata -> reflClass , $ this -> nodeTrait , $ this -> isRecursive ) ; }
Checks if entity is a tree

@param ClassMetadata $classMetadata The metadata

@return Boolean
Checks if entity is a tree