docs: def exists(self):
          """ Check whether the directory exists on the camera. """
          if self.name in ("", "/") and self.parent is None:
              return True
          else:
              return self in self.parent.directories