This might be better as ```this.page.document.defaultView === this.page.document.defaultView.top
        || translate.document.defaultView !== this.page.document.defaultView.top```