isSuccess

Returns true if this instance represents a successful outcome. In this case isFailure returns false.

Since Kotlin

1.3