public function exists($key) { $this->initialize(); return false !== $this->sftp->stat($this->computePath($key)); }