private boolean hasMergeAddresses(AddressSetView p1AddressSet) {
		if (program1.getMemory().contains(p1AddressSet)) {
			return true;
		}
		return false;
	}
Merge the differences from the indicated program on the specified
 address set with the indicated filtering.
@param p1MergeSet the address set to be merged
The addresses in this set should be derived from program1.
@param filter the filter indicating what types of differences to merge.
@param monitor task monitor for reporting merge status to the user.
@return true if merge succeeds

@throws MemoryAccessException if bytes can't be copied.
@throws CancelledException if user cancels via the monitor.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramMergeManager.java