Required library edition: Required library file: dhtmlxwindows.js
checks if a button is enabled
Returns true if enabled, otherwise - false
var isBtnEnabled = dhxWins.window(id).button(id).isEnabled();