That won't work. valuesOrEmpty just searches the values of the given map. The requirement here is to search the values of the Collections inside the Collection. If anything we'd need to add a Utility method to "flatten" cascaded Collections and then do a search against that.