static boolean overlapsOtherFunctions(Function fromFunc, Program toProgram) {
		Program fromProgram = fromFunc.getProgram();
		AddressSetView fromBody = fromFunc.getBody();
		AddressSetView newBody = DiffUtility.getCompatibleAddressSet(fromBody, toProgram);
		Address fromEntryPoint = fromFunc.getEntryPoint();
		Address toEntryPoint =
			SimpleDiffUtility.getCompatibleAddress(fromProgram, fromEntryPoint, toProgram);
		FunctionManager toFunctionManager = toProgram.getFunctionManager();
		Iterator<Function> overlapIter = toFunctionManager.getFunctionsOverlapping(newBody);
		while (overlapIter.hasNext()) {
			Function func = overlapIter.next();
			Address overlapEntryPoint = func.getEntryPoint();
			if (!overlapEntryPoint.equals(toEntryPoint)) {
				return true;
			}
		}
		return false;
	}
Determines whether the "fromFunc" function's body overlaps any function bodies that already
exist within the "toProgram" other than a function with an
entry point at the "fromFunc" function's entry point.
@param fromFunc the function whose body should get checked.
@param toProgram the program to check the function body against.
@return true if it overlaps functions other than one with an entry point matching
that of the "fromFunc".
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramMerge.java