docs: def _exists(fs, path):
      """
      Check that the given path exists on the filesystem.
  
      Note that unlike `os.path.exists`, we *do* propagate file system errors
      other than a non-existent path or non-existent directory component.
  
      E.g., should EPERM or ELOOP be raised, an exception will bubble up.
      """
      try:
          fs.stat(path)
      except (exceptions.FileNotFound, exceptions.NotADirectory):
          return False
      return True