docs: protected boolean onItemClicked() {
  
          if (isEnabled()) {
              m_overlay.closeSubMenus();
  
              if (hasSubMenu()) {
                  openSubMenu();
                  return false;
              } else {
                  if (m_rootComponent.isHideAutomatically()) {
                      closeContextMenu();
                      return true;
                  }
                  return false;
              }
          }
  
          return false;
      }