g-jsonp: add isInFlight function