public function isFolder($path, $name) { try { $folderList = $this->listFolder($path, null, true, true); return isset($folderList[$name]); } catch (Horde_Vfs_Exception $e) { return false; } }