private boolean programIsClosed() {

		if (!(dataModel instanceof ProgramTableModel)) {
			// not a program-based model; no program
			return false;
		}

		ProgramTableModel ptm = (ProgramTableModel) dataModel;
		Program program = ptm.getProgram();
		return program == null;
	}
Allows the user to enable and disable the table's feature that triggers navigation on certain
selection events, like mouse clicking and pressing the 'Enter' key.

@param enabled true enables the navigation on selection feature.
Ghidra/Features/Base/src/main/java/ghidra/util/table/GhidraTable.java