private boolean matches(Program otherProgram, ProgramLocation otherLocation) {
		if (functionToDecompile == null) {
			return false;
		}
		if (program != otherProgram) {
			return false;
		}
		if (otherLocation.getAddress() == null) {
			return true;
		}
		return functionToDecompile.getBody().contains(otherLocation.getAddress());
	}
Checks if the given program and location represent the same function as this
decompile's function
Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/DecompileRunnable.java