code: public Set<String> getKeySet() {
      final HashSet<String> keySet = new HashSet<>();
  
      keySet.addAll(localKeySet());
  
      if (this._parent != null) {
        keySet.addAll(this._parent.getKeySet());
      }
  
      return keySet;
    }
docs: Returns a set of all keys, including the parents