precondition abstract method
Returns true if the command can be run on the given state.
Implementation
bool precondition(CommandContext<State, System> context, State state);
Returns true if the command can be run on the given state.
bool precondition(CommandContext<State, System> context, State state);