Promise<boolean>: button state,trueenabled,falsedisabled
PluginManager
getButtonState
Get whether a plugin button is enabled.
When a plugin button is enabled, it is shown in the toolbar/lasso toolbar/text-selection toolbar. When disabled, the corresponding button is not shown.
Returns