@Override
	protected boolean hasUnsaveData() {
		Program[] allOpenPrograms = getAllOpenPrograms();
		for (Program program : allOpenPrograms) {
			if (program.isChanged()) {
				return true;
			}
		}
		return false;
	}
This method notifies listening plugins that a programs has been added to the program manager.
This is not used for actually opening a program from the database and will act strangely if
given a closed Program object.

@see ghidra.app.services.ProgramManager#openProgram(ghidra.program.model.listing.Program)
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/progmgr/ProgramManagerPlugin.java