def METHOD_NAME(self):
    """
    Integration is broken if we have 7 consecutive days of errors and no successes OR have a fatal error OR have > 1000 timeouts in a day
    """
    broken_range_days_counts = self._get_broken_range_from_buffer()
    days_fatal = []
    days_error = []
    days_timeout = []
    for day_count in broken_range_days_counts:
        if int(day_count.get("fatal_count", 0)) > 0:
            days_fatal.append(day_count)
        elif int(day_count.get("timeout_count", 0)) >= settings.BROKEN_TIMEOUT_THRESHOLD:
            days_timeout.append(day_count)
        elif (
            int(day_count.get("error_count", 0)) > 0
            and int(day_count.get("success_count", 0)) == 0
        ):
            days_error.append(day_count)
    if len(days_fatal) > 0:
        return True
    if len(days_timeout) > 0:
        return True
    if not len(days_error):
        return False
    if len(days_error) < BROKEN_RANGE_DAYS:
        return False
    return True