public void addLoadedProgram(String programPath, Program program) {
		if (loadedPrograms.put(programPath, program) == null) {
			program.addConsumer(this);
		}
	}
Adds an already opened program to this session, allowing it to be used as an external
library without needing to look it up in the current project.

@param programPath project path to already opened program
@param program {@link Program}
Ghidra/Features/Base/src/main/java/ghidra/program/util/ExternalSymbolResolver.java