boolean (@NotNull RunContentDescriptor descriptor) { RunnerLayoutUi runnerLayoutUi = descriptor.getRunnerLayoutUi(); if (runnerLayoutUi == null) return false; ContentManager contentManager = runnerLayoutUi.getContentManager(); Content selectedContent = contentManager.getSelectedContent(); return selectedContent != null && ExecutionConsole.CONSOLE_CONTENT_ID.equals(selectedContent.getUserData(ViewImpl.ID)); }