public boolean isSplitTerminal(@NotNull TerminalWidget widget) {
    TerminalContainer container = getContainer(widget);
    return container != null && container.isSplitTerminal();
  }
public boolean isSplitTerminal(@NotNull TerminalWidget widget)