Compares 2 values and returns violation message if validated value bigger than constraint
    :param to_validate:
    :param constraint:
    :param violation_cfg:
    :return:

def limit_exceed(to_validate, constraint, violation_cfg):
    """
    Compares 2 values and returns violation message if validated value bigger than constraint
    :param to_validate:
    :param constraint:
    :param violation_cfg:
    :return:
    """
    if to_validate > constraint:
        violation_cfg[Check.CFG_KEY_VIOLATION_MSG] = violation_cfg[Check.CFG_KEY_VIOLATION_MSG].format(constraint)
        return violation_cfg
    else:
        return None