mouse-menu-non-singleton

mouse-menu-non-singleton is a compiled Lisp function in `mouse.el'.

(mouse-menu-non-singleton MENUBAR)

Return menu keybar MENUBAR, or a lone submenu inside it.
If MENUBAR defines exactly one submenu, return just that submenu.
Otherwise, return MENUBAR.