Using a Python Dictionary as a Key (Non-nested),frozenset(list(a.items()))