Checks whether a result is an error.
Result to evaluate.
Returns true if the passed result is Err. Otherwise, it returns false.
true
Err
false
Checks whether a result is an error.