code: def is_exhausted(self):
          
          retry_counts = (self.total, self.connect, self.read, self.redirect, self.status)
          retry_counts = list(filter(None, retry_counts))
          if not retry_counts:
              return False
  
          return min(retry_counts) < 0
docs: Are we out of retries?