private boolean anyParentsInSet(HashSet<GTreeNode> set, GTreeNode node) {
		GTreeNode parent = node.getParent();
		if (parent == null) {
			return false;
		}
		if (set.contains(parent)) {
			return true;
		}
		return anyParentsInSet(set, parent);
	}
Removes any path that is a descendant of a path in the selection.
@param paths selected paths
@return paths that do not have any descendants
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/projectdata/actions/ProjectDataCopyCutBaseAction.java