There is an ```config.page.isNetworkFront``` boolean which is more reliable than this.