We should revisit that function some time to see if we can do the same check without modifying the map.
We should revisit that function some time to see if we can do the same check without modifying the map.