method Command.prototype.hasCommandsimport { Command } from "https://deno.land/x/ndeno@v2.0.6/src/deps.ts"; hasCommands(hidden?: boolean): booleanChecks whether the command has sub-commands or not. Parametersoptionalhidden: booleanInclude hidden commands. Returnsboolean