result = IsMenuItemSelected(id, item$)
Please note that you need to pass the identifier of a display to this function. It is not sufficient to pass the identifier of a menu strip because single menu strips can be attached to multiple displays. If you want to address the context menu of a docky on AmigaOS4, pass 0.
Trueif the menu item is selected,