The IsEnabled function determines whether a menu item enabled or disabled.
Syntax
Integer=MenuItemID
PluginSet("PlugIn","Integer")
PluginRun("PlugIn","IsEnabled")
PluginGet("PlugIn","State")
Parameters
MenuItemID
[in] Identifier of the menu item to be tested.
State
[out] If menu item is enabled then State value is TRUE, otherwise it's FALSE.