def _should_skip_rule(field, validate_fields, desired_stage_order, req_stage_order):
    """Whether a validation rule for a field should be skipped."""
    skip_field = validate_fields is not None and field not in validate_fields

    return skip_field or desired_stage_order < req_stage_order