is_success
$
resp
->is_success
()
Returns true when the response code is 200 through 299.