This class is a compatibility wrapper around Result for Java.
It is intended to solve the problem of being unable to obtain Result in java.
Returns true if this Result represents a failed outcome.
true
Returns true if this Result represents a successful outcome.