check abstract method
- CommandContext context
Validate context
against this check.
If true
is returned from this method, this check is considered to be successful, in which
case the next check on the command is checked. Else, if false
is returned, this check is
considered to have failed, and the command will not be executed.
This check's state should not be changed in check; instead, developers should use preCallHooks and postCallHooks to update the check's state.
Implementation
FutureOr<bool> check(CommandContext context);