docs: static boolean safeContainsKey(Map<?, ?> map, Object key) {
      checkNotNull(map);
      try {
        return map.containsKey(key);
      } catch (ClassCastException e) {
        return false;
      } catch (NullPointerException e) {
        return false;
      }
    }