Function PopupMenu.isItemDisabled

Returns true if the item at index idx is disabled. When it is disabled it can't be selected, or its action invoked. See setItemDisabled for more info on how to disable an item.

bool isItemDisabled (
  const(long) idx
) nothrow @nogc const;