ToolItem.Enabled

From Xojo Documentation

Property (As Boolean )
aToolItem.Enabled = newBooleanValue
or
BooleanValue = aToolItem.Enabled

Supported for all project types and targets.

True if the ToolItem is enabled.