docs: def exists(self, batch_id=None):
          """Returns True if batch_id exists in the history.
          """
          try:
              self.model.objects.get(batch_id=batch_id)
          except self.model.DoesNotExist:
              return False
          return True