code: def exists(self, path, **kwargs):
          
          try:
              self.get_file_status(path, **kwargs)
              return True
          except HdfsFileNotFoundException:
              return False
docs: Return true if the given path exists