def check_match_database(compound, database_df):
    """
    Function to check if a compound is in the df.

    Parameters
    ----------
    compound: str
            Name of the compound to search for
    database_df: pandas dataframe
            Dataframe with the different compounds.

    Returns
    ---------
    Bool
        Exists or not
    """
    if compound not in database_df.index:
        print(f'{compound} not found in df')
        return False
    else:
        return True