private static boolean isExportedSymbol(Program program, String name) {

		for (Symbol s : program.getSymbolTable().getLabelOrFunctionSymbols(name, null)) {
			if (s.isExternalEntryPoint()) {
				return true;
			}
		}
		return false;
	}
Returns true if the specified program publishes a symbol with the specified name.

@param program {@link Program}
@param name symbol name
@return true if program publishes a symbol the specified name
Ghidra/Features/Base/src/main/java/ghidra/program/util/ExternalSymbolResolver.java