isSuccessful

abstract val isSuccessful: Boolean

Indicates if the Http Status code is a success or failure

Note: A successful HTTP status doesn't mean a Successful response. Reading of Response can fail with an Exception and can be null