Efficient way to find the largest key in a dictionary with non-zero value,"max(k for k, v in x.items() if v != 0)"