allow routes to know whether request is external