code: def exists(self, names):
          
          if not isinstance(names, list):
              raise TypeError("names can only be an instance of type list")
          for a in names[:10]:
              if not isinstance(a, basestring):
                  raise TypeError(
                          "array can only contain objects of type basestring")
          exists = self._call("exists",
                       in_p=[names])
          return exists
docs: Checks if the given file list exists in the current directory
          level.
  
          in names of type str
              The names to check.
  
          return exists of type str
              The names which exist.