private boolean removeFunctionFromTargets(Function function) {
		boolean didRemove = false;
		Iterator<Function> it = sourceToTargetsMap.keySet().iterator();

		while (it.hasNext()) {
			Function source = it.next();
			Set<Function> set = sourceToTargetsMap.get(source);
			didRemove |= set.remove(function);
			if (set.isEmpty()) {
				it.remove();
			}
		}
		return didRemove;
	}
Removes all the given functions from all comparisons in the model
@param functions the functions to remove
Ghidra/Features/Base/src/main/java/ghidra/features/base/codecompare/model/MatchedFunctionComparisonModel.java