src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts/AbstractTaskService/inTerminal
class AbstractTaskService:	public inTerminal(): boolean {
		if (this._taskSystem) {
			return this._taskSystem instanceof TerminalTaskSystem;
		}
		return this.executionEngine === ExecutionEngine.Terminal;
	}