public synchronized boolean containsCommand(String command){
  return commands.containsKey(StringUtil.toLowerCase(command));
}

public synchronized boolean containsCommand ( String command ) { return commands . containsKey ( StringUtil . toLowerCase ( command ) ) ; }
checks if the given command exists ( case - insensitive ) .
