Is there any pre-defined function that I can use to compare two Maps based on the key and give me the difference? Right now, I iterate Map1 and foreach key, I check if there is
Consider the difference between the maps converted into sets of tuples,
(m1.toSet diff m2.toSet).toMap