private AddressSetView toAddressSet(Set<Address> doLaterSet) {
		AddressSet set = new AddressSet();
		Iterator<Address> iterator = doLaterSet.iterator();
		while (iterator.hasNext()) {
			Address address = iterator.next();
			set.add(address);
		}
		return set;
	}
Check for a single external entry point.

@param program - program to check
@param externalCount - count of external entry points found
@param doNowSet - set of functions that are to be done now

@return true if this program has only one external entry point
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/disassembler/EntryPointAnalyzer.java