public function exists($key) { try { $this->getDropboxMetadata($key); return true; } catch (Exception\FileNotFound $e) { return false; } }