private boolean hasStaleOverlays(Program p) {
		return p.getAddressFactory().hasStaleOverlayCondition();
	}
Generate a list of programs which are currently open in the tool which are compatible
with the primaryProgram to be diff'd.  The top/primary entries correspond to this 
programs which have the same name (see {@link Program#getName()}) as the primaryProgram, 
while the remaining compatible programs will be considered secondary.  Each of these
two groups will be sorted by its domain file name then concatenated to form a single list.  
@return ordered open program list for use with the {@link OpenVersionedFileDialog}.
Ghidra/Features/ProgramDiff/src/main/java/ghidra/app/plugin/core/diff/ProgramDiffPlugin.java