src/vs/workbench/contrib/terminal/browser/terminalInstance.ts/TerminalInstance/hasFocus
class TerminalInstance:	get hasFocus(): boolean { return this._wrapperElement.contains(document.activeElement) ?? false; }