disabled

abstract var disabled: Boolean?(source)

If true, the menu item will be disabled.