I've two maps, and i need to know if all the elements in map1 are in map2 also. I think that using sets is a good idea but this doesn't work.
map1 = Map("provider" -> pepe, "consumer" -> pipo)
map2 = Map("provider" -> pepe, "consumer" -> pipo, "id" -> 1)
map1.toSet subsetOf map2.toSet