isSuccessful

Determines whether the current Result instance represents a successful outcome.

Return

true if the instance is of type Success, false otherwise.