public bool HasCommand(string name) { return(commandDispatcher == null ? false : commandDispatcher.Contains(name)); }