src/vs/workbench/api/browser/mainThreadWindow.ts/MainThreadWindow/$getWindowVisibility
class MainThreadWindow:	$getWindowVisibility(): Promise<boolean> {
		return Promise.resolve(this.hostService.hasFocus);
	}