Make xhr?/xml_http_request? actually return true/false

The comments say 'Returns true' but it doesn't, it returns 0