isFailure

True if the result is an error, false otherwise.