src/Sulu/Component/DocumentManager/DocumentRegistry.php
public function hasNode(NodeInterface $node, $locale)
    {
        return array_key_exists($this->getNodeLocaleKey($node->getIdentifier(), $locale), $this->nodeDocumentMap);
    }
public function hasNode(NodeInterface $node, $locale)
    {
        return array_key_exists($this->getNodeLocaleKey($node->getIdentifier(), $locale), $this->nodeDocumentMap);
    }
public function hasNode ( NodeInterface $ node , $ locale ) { return array_key_exists ( $ this -> getNodeLocaleKey ( $ node -> getIdentifier ( ) , $ locale ) , $ this -> nodeDocumentMap ) ; }
Return true if the node is managed.

@param NodeInterface $node
@param string $locale

@return bool
Return true if the node is managed .