public function pathExists($path = '', $public = true)
    {
        $path = $this->getStoragePath($path);

        return $this->_storage->exists($path, $public);
    }
public function pathExists($path = '', $public = true)
    {
        $path = $this->getStoragePath($path);

        return $this->_storage->exists($path, $public);
    }
public function pathExists ( $ path = '' , $ public = true ) { $ path = $ this -> getStoragePath ( $ path ) ; return $ this -> _storage -> exists ( $ path , $ public ) ; }
Checks the existance of path.

@param string $path   The relative path to check
@param bool   $public The storage mode. Can be public or private

@return bool
Checks the existance of path .