filter common sub-dictionary keys in a dictionary,set.intersection(*(set(x) for x in d.values()))