return true, if the named command is enabled command the command name
true
command
bool isCommandEnabled(String command) { return getCommand(command).enabled ; }