private boolean isActionCloseConnectionEnabled(TraceRmiManagerActionContext context) {
		TraceRmiManagerNode node = context.getSelectedNode();
		if (node instanceof TraceRmiConnectionNode) {
			return true;
		}
		if (node instanceof TraceRmiAcceptorNode) {
			return true;
		}
		return false;
	}
This allows the test framework to use reflection to access this method.
Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/gui/tracermi/connection/TraceRmiConnectionManagerProvider.java