'Are we out of retries?'

def is_exhausted(self):

    retry_counts = (self.total, self.connect, self.read, self.redirect)
    retry_counts = list(filter(None, retry_counts))
    if (not retry_counts):
        return False
    return (min(retry_counts) < 0)
