public function nodeExists($path)
    {
        try {
            // The root always exists
            if ('' === $path) {
                return true;
            }

            list($parent, $base) = Uri\split($path);

            $parentNode = $this->getNodeForPath($parent);
            if (!$parentNode instanceof ICollection) {
                return false;
            }

            return $parentNode->childExists($base);
        } catch (Exception\NotFound $e) {
            return false;
        }
    }
public function nodeExists($path)
    {
        try {
            // The root always exists
            if ('' === $path) {
                return true;
            }

            list($parent, $base) = Uri\split($path);

            $parentNode = $this->getNodeForPath($parent);
            if (!$parentNode instanceof ICollection) {
                return false;
            }

            return $parentNode->childExists($base);
        } catch (Exception\NotFound $e) {
            return false;
        }
    }
public function nodeExists ( $ path ) { try { // The root always exists if ( '' === $ path ) { return true ; } list ( $ parent , $ base ) = Uri \ split ( $ path ) ; $ parentNode = $ this -> getNodeForPath ( $ parent ) ; if ( ! $ parentNode instanceof ICollection ) { return false ; } return $ parentNode -> childExists ( $ base ) ; } catch ( Exception \ NotFound $ e ) { return false ; } }
This function allows you to check if a node exists.

Implementors of this class should override this method to make
it cheaper.

@param string $path

@return bool
This function allows you to check if a node exists .