Checks whether a result is a success.
Result to evaluate.
Returns true if the passed result is Ok. Otherwise, it returns false.
true
Ok
false
Checks whether a result is a success.