def check_variable_exclusion(variable_name, ex_variables):
    """Checks whether the variable has to be excluded.
       Excluded variables are reported by the user in the .cfg file

    Arguments:
        variable_name {string} -- the variable name
        ex_variables {list}    -- the list of excluded variables

    Returns:
        True  -- if the variable is not excluded
        False -- is the variable is the .cfg file
    """
    if variable_name in ex_variables:
        return False
    else:
        return True