private boolean isExternalReferenceResolved(Program program, Data data, TaskMonitor monitor)
			throws CancelledException {

		ExternalManager externalManager = program.getExternalManager();
		Reference[] referencesFrom = data.getReferencesFrom();
		for (Reference reference : referencesFrom) {
			monitor.checkCancelled();
			if (reference instanceof ExternalReference) {
				ExternalReference extref = (ExternalReference) reference;
				ExternalLocation externalLocation = extref.getExternalLocation();
				if (externalManager.getExternalLibraryPath(
					externalLocation.getLibraryName()) != null) {
					return true;//already resolved
				}
			}
		}
		return false;
	}
Links multidex APKs together
via the "method_lookup" section using
external references.
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/android/multidex/MultiDexLinker.java