docs: def has_image(self, name: str) -> bool:
          """
          Determines whether the server has a Docker image with a given name.
          """
          path = "docker/images/{}".format(name)
          r = self.__api.head(path)
          if r.status_code == 204:
              return True
          elif r.status_code == 404:
              return False
          self.__api.handle_erroneous_response(r)