"if (map.contains(key)) use(map.value(key))
The variations are basically open ended, not worth doing checks for very specific variations.