void (@NotNull AnActionEvent e, @NotNull Project project, @NotNull Content content, @NotNull TerminalWidget terminalWidget) { e.getPresentation().setEnabledAndVisible(TerminalToolWindowManager.getInstance(project).isSplitTerminal(terminalWidget)); }