isSuccess
Extension function to check if the HTTP status code represents a successful response.
This function returns true for all 2xx status codes (200-299), which indicate successful HTTP responses according to the HTTP specification.
Return
true if the status code is in the range 200-299, false otherwise.