method BaseCommand.prototype.hasCommandimport { BaseCommand } from "https://dotland.deno.dev/x/cliffy@v0.8.1/command.ts"; hasCommand(name: string, hidden?: boolean): booleanChecks whether the command has a sub-command with given name or not. Parametersname: stringName of the command. optionalhidden: booleanInclude hidden commands. Returnsboolean