private void addLabelIfNeeded(String name, Address addr) throws InvalidInputException {
		for (Symbol sym : symTable.getSymbolsAsIterator(addr)) {
			if (sym.getName().equals(name)) {
				return;
			}
		}
		symTable.createLabel(addr, name, SourceType.IMPORTED);
	}
Imports symbols from an external debug program (typically created via a reverse strip) into
the program that contains the executable code that the symbols will be applied to.
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/ExternalDebugFileSymbolImporter.java