Checks if a command is registered.
bool hasHandler(String cmdName) => _handlers.containsKey(cmdName);