Type guard to check if a Result is successful.
The Result to check.
True if the Result contains a value.
Type guard to check if a Result is successful.