private boolean matchesOrContains(FGVertex potentialMatch, FGVertex vertex) {

		if (potentialMatch.equals(vertex)) {
			return true;
		}

		if (potentialMatch instanceof GroupedFunctionGraphVertex) {
			Set<FGVertex> vertices = ((GroupedFunctionGraphVertex) potentialMatch).getVertices();
			for (FGVertex child : vertices) {
				if (matchesOrContains(child, vertex)) {
					return true;
				}
			}
		}
		return false;
	}
Signals that the user has changed the text of a group node and that and this pre-existing
info needs to update.

@param text The new text
Ghidra/Features/FunctionGraph/src/main/java/ghidra/app/plugin/core/functiongraph/graph/vertex/GroupHistoryInfo.java