public boolean isTerminalViewEnabled() {
        PartCustomPropertyValueInfo info = terminalViewEnabledPartProperty.getPropertyValue(editor);
        boolean enabled = CommonUtils.toBoolean(info.value);
        if (info.isInitial) {
            editor.setResultSetAutoFocusEnabled(!enabled);
        }
        return enabled;
    }
Checks whether the console view is enabled for the current editor.
SQL Terminal state is stored in the editor properties in the runtime
and saved in the script file to keep the state between launches.
plugins/org.jkiss.dbeaver.ui.editors.sql.terminal/src/org/jkiss/dbeaver/ui/editors/sql/terminal/SQLTerminalEditorAddIn.java