Neos.ContentRepository/Classes/Domain/Service/Cache/FirstLevelNodeCache.php
public function getByPath($path)
    {
        if (isset($this->nodesByPath[$path])) {
            return $this->nodesByPath[$path];
        }

        return false;
    }
public function getByPath($path)
    {
        if (isset($this->nodesByPath[$path])) {
            return $this->nodesByPath[$path];
        }

        return false;
    }
public function getByPath ( $ path ) { if ( isset ( $ this -> nodesByPath [ $ path ] ) ) { return $ this -> nodesByPath [ $ path ] ; } return false ; }
If the cache contains a node for the given path, it is returned.

Otherwise false is returned.

@param string $path
@return NodeInterface
If the cache contains a node for the given path it is returned .