Returns true if the state is valid according to this validator's rules.
@override bool isValid(S state) => state != target.state;