import logging


def is_non_trivial_result(df):
    """Assert if Bambino outputs contains data other than the header line

    Args:
        df (pandas.DataFrame): Bambino output as pd.DataFrame
    Returns:
        is_non_trivial (bool): True if it has more than header line
    """
    is_non_trivial = False

    if len(df) == 0:
        logging.critical("Bambino output only contains the header line.")
    else:
        is_non_trivial = True

    return is_non_trivial