src/vs/workbench/contrib/notebook/browser/view/notebookCellList.ts/isContextMenuFocused
function isContextMenuFocused() {
	return !!DOM.findParentWithClass(<HTMLElement>document.activeElement, 'context-view');
}