[CLI-224] Add hasArgs and hasArg method to new Builder.