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