code: def exists(self, filepath):
          
          if self.is_ssh(filepath):
              self._check_ftp()
              remotepath = self._get_remote(filepath)
              try:
                  self.ftp.stat(remotepath)
              except IOError as e:
                  if e.errno == errno.ENOENT:
                      return False
              else:
                  return True
          else:
              return os.path.exists(filepath)
docs: Determines if the specified file/folder exists, even if it
          is on a remote server.