def timeliness_run_check(columns, value, df, dateFormat=None, timeFormat=None):
    """
    Check for consistency between parameters and the dataframe, an assertion
    error will incur if the check is not passed.

    :param columns: Columns on which to run the metric
    :type columns: list
    :param value: Value of the date/time, a string, in the dateFormat or timeFormat that is passed, currently
    not used.
    :type value: str
    :param df: Dataframe on which to run the metric
    :type df: DataFrame
    :param dateFormat: Dateformat for values that are dates.
    :type dateFormat: str
    :param timeFormat: Timeformat for values that are times.
    :type timeFormat: str
    """
    assert (dateFormat is None or timeFormat is None) and (not dateFormat is
        None or not timeFormat is None
        ), 'Pass either a dateFormat or a timeFormat, not both. '
    for col in columns:
        assert col in df.columns, "Column '%s' is not a column part of the dataframe" % col
