Returns an unique list of dictionaries given a list that may contain duplicates.

def _unique(list_of_dicts):
    '''
    Returns an unique list of dictionaries given a list that may contain duplicates.
    '''
    unique_list = []
    for ele in list_of_dicts:
        if ele not in unique_list:
            unique_list.append(ele)
    return unique_list