Required library edition: Required library file: dhtmlxtoolbar.js
returns true if a specified item is enabled
var isEn = toolbar.isEnabled(itemId); // returns true/false