def METHOD_NAME(self, record):
    if record.args and len(record.args) > 0 and isinstance(record.args[0], Retry):
        left = (record.args[0].total, record.args[0].connect, record.args[0].read,
                record.args[0].redirect, record.args[0].status)
        left = [is_int for is_int in left if isinstance(is_int, int)]
        if left:
            retry_left = max(left) - min(left)
            return retry_left >= self.display_warning_after
    return True