some_dict = {'firstname': 'Albert', 'nickname': 'Albert', 'surname':
    'Likins', 'username': 'Angel'}
rev_multidict = {}
for key, value in list(some_dict.items()):
    rev_multidict.setdefault(value, set()).add(key)
Find dictionary keys with duplicate values