code: public boolean containsCommandGroup(String groupId) {
          if (commandMap.get(groupId) instanceof CommandGroup) {
              return true;
          }
          if (parent != null) {
              return parent.containsCommandGroup(groupId);
          }
          return false;
      }
docs: {@inheritDoc}
  @deprecated