The ok read-only property of the Response interface contains a Boolean stating whether the response was successful (status in the range 200-299) or not.
ok
external bool get ok;