def test_column_names(df_import):
    """Test if the dataframe has expected columns

    Parameters
    ----------
    df_import : Pandas Dataframe
        The dataset imported as Pandas Dataframe
    Returns
    -------
    bool
        a bool value: True if the dataframe has expected columns
    """
    df_import_columns = sorted(df_import.columns.tolist())
    df_import_checklist = ['trip_id',
                           'starttime',
                           'stoptime',
                           'bikeid',
                           'tripduration',
                           'from_station_name',
                           'to_station_name',
                           'from_station_id',
                           'to_station_id',
                           'usertype',
                           'gender',
                           'birthyear']
    if df_import_columns == sorted(df_import_checklist):
        return True