static bool isCIMap(Map m) { ret m instanceof TreeMap && ((TreeMap) m).comparator() == caseInsensitiveComparator(); }