src/vs/workbench/contrib/notebook/browser/notebookKernelServiceImpl.ts/NotebookKernelService/preselectKernelForNotebook
class NotebookKernelService:	preselectKernelForNotebook(kernel: INotebookKernel, notebook: INotebookTextModelLike): void {
		const key = NotebookTextModelLikeId.str(notebook);
		const oldKernel = this._notebookBindings.get(key);
		if (oldKernel !== kernel?.id) {
			this._notebookBindings.set(key, kernel.id);
			this._persistMementos();
		}
	}