docs: protected boolean isHideButtonAdvanced() {
  
          I_CmsDialogHandler handler = OpenCms.getWorkplaceManager().getDialogHandler(getDialogHandler());
          CmsParameterConfiguration handlerParams = handler.getConfiguration();
          if ((handlerParams != null) && handlerParams.containsKey(PARAM_HIDEADVANCED)) {
              // checks if "hideadvanced" is set to true
              boolean isHideAdvancedSet = false;
              List<String> hAdvanced = handlerParams.getList(PARAM_HIDEADVANCED);
              if (!hAdvanced.isEmpty()) {
                  isHideAdvancedSet = Boolean.valueOf(hAdvanced.get(0)).booleanValue();
              }
              if (isHideAdvancedSet) {
                  // if user has the role root admin
                  if (OpenCms.getRoleManager().hasRole(getCms(), CmsRole.ROOT_ADMIN)) {
                      return false;
                  }
                  if (handlerParams.containsKey(PARAM_SHOWGROUP)) {
                      // check if user is one of the configured groups
                      CmsUser currentUser = getCms().getRequestContext().getCurrentUser();
                      List<String> confGroups = handlerParams.getList(PARAM_SHOWGROUP);
                      for (String groupName : confGroups) {
                          try {
                              if (getCms().userInGroup(currentUser.getName(), groupName)) {
                                  return false;
                              }
                          } catch (CmsException e) {
                              LOG.error(e.getLocalizedMessage(), e);
                          }
                      }
                  }
                  return true;
              }
          }
          return false;
      }