isCommandEnabled method

bool isCommandEnabled(
  1. String command
)

return true, if the named command is enabled command the command name

Implementation

bool isCommandEnabled(String command) {
  return getCommand(command).enabled ;
}