isSuccessful

Indicates whether the HTTP request was successful.

A response is considered successful if its status code is in the range 200..299.

Return

true if the response was successful, false otherwise.