Returns true if the result is Ok and the value inside of it matches a predicate.
@override bool isOkAnd(bool Function(S) fn) => fn(ok);