private boolean isLanguageDefinedEntryPointer(Program program, Address addr) {
		List<AddressLabelInfo> labelList = program.getLanguage().getDefaultSymbols();
		for (AddressLabelInfo info : labelList) {
			if (addr.equals(info.getAddress())) {
				ProcessorSymbolType type = info.getProcessorSymbolType();
				return type != null && type.equals(ProcessorSymbolType.CODE_PTR);
			}
		}
		return false;
	}
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