src/vs/workbench/browser/parts/editor/noTabsTitleControl.ts/NoTabsTitleControl/ifEditorIsActive
class NoTabsTitleControl:	private ifEditorIsActive(editor: EditorInput, fn: () => void): void {
		if (this.group.isActive(editor)) {
			fn();  // only run if editor is current active
		}
	}