def remove_prior(dataframe, include_prior):
    """If include_prior is False. Drops the prior features from dataframe."""
    # The prior is included in the data by default.
    if not include_prior:
        print('Removing prior speaking labels from training features.')
        return dataframe.drop(
            [c for c in dataframe.columns if 'prior' in c],
            axis=1,
        )
    return dataframe