def _debug_rule_statuses_changed(current_statuses, last_statuses):
    """Checks the rule evaluation statuses for SageMaker Debugger rules."""
    if not last_statuses:
        return True
    for current, last in zip(current_statuses, last_statuses):
        if current['RuleConfigurationName'] == last['RuleConfigurationName'
            ] and current['RuleEvaluationStatus'] != last[
            'RuleEvaluationStatus']:
            return True
    return False
