method Context.prototype.hasCommandimport { Context } from "https://dotland.deno.dev/x/grammy@v1.10.0/context.ts"; hasCommand<S extends string>(command: MaybeArray<StringWithSuggestions< | S | "start" | "help" | "settings">>): this is CommandContext<this>Returns true if this context object contains the given command, and false otherwise. This uses the same logic as bot.command. Type ParametersS extends stringParameterscommand: MaybeArray<StringWithSuggestions< | S | "start" | "help" | "settings">>The command to match Returnsthis is CommandContext<this>