def has_right_columns(d_f):
    """This function checks if the dataframe has the correct column names"""
    col_names = list(d_f.columns.values)

    if (col_names[0] == 'JURISDICTION NAME' and col_names[1] == 'PERCENT FEMALE'
            and col_names[2] == 'PERCENT MALE'):
        return True
    return False