public void showOutputPanel(@Nullable Boolean show) {
        showExtraView(
            SQLEditorCommands.CMD_SQL_SHOW_OUTPUT,
            SQLEditorMessages.editors_sql_output,
            SQLEditorMessages.editors_sql_output_tip,
            IMG_OUTPUT,
            outputViewer,
            manager -> manager.add(new OutputAutoShowToggleAction()),
            show);
    }
Return true if there is an active tab, and its container is pinned
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java