static bool containsKey(Map map, A key) { ret map != null && map.containsKey(key); }