docs: @Override
      public boolean containsKey(Object key) {
          if (key == null) {
              throw new NullPointerException("Key can not be null");
          }
          if (!(key instanceof String)) {
              throw new ClassCastException("Only String keys are supported -- got " + key.getClass());
          }
  
          return get(key) != null;
      }