public static boolean isPrintHelpNeeded(CommandDefaultOptions commandOpts) {
        return commandOpts.args.length == 0 || commandOpts.options.has(commandOpts.helpOpt);
    }
Check if there are no options or `--help` option from command line.

@param commandOpts Acceptable options for a command
@return true on matching the help check condition
server-common/src/main/java/org/apache/kafka/server/util/CommandLineUtils.java