private boolean addToPopupNotRoot(ActionContext context) {
		TreePath[] selectionPaths = getSelectedPaths(context);
		if (selectionPaths == null) {
			return false;
		}
		for (TreePath path : selectionPaths) {
			GTreeNode node = (GTreeNode) path.getLastPathComponent();
			if (node.isRoot()) {
				return false;
			}
		}
		return true;
	}
A variable used to restrict open-ended operations, like expanding all nodes or filtering.
Ghidra/Features/DecompilerDependent/src/main/java/ghidra/app/plugin/core/decompiler/taint/TaintSliceTreeProvider.java