def unique_from_list_field(records, list_field=None):
    """
    Return a list of unique values contained within a list of dicts containing
    a list.
    """
    values = []

    for record in records:
        if record.get(list_field):
            values = values + record[list_field]

    return list(set(values))