def get_options_config_if_fewer_than_five_hundred(column_values):
    """
    If there are fewer than 500 unique values for a column, return an Options configuration dictionary
    :param column_values:
    :return:
    """
    unique_dict = {}
    for value in column_values:
        unique_dict[value] = True
    uniques = list(unique_dict.keys())
    if len(unique_dict.values()) < 500:
        return {
            'type': 'options',
            'options': uniques
        }