Used to check if a Result is an OK
Result
OK
Returns true if the result is an OK variant of Result
true
@override // ignore: unnecessary_type_check bool isOk() => this is Ok<T, E>;