private boolean containsSymbolName(Address addr, String symbolName) {
		return StreamSupport
				.stream(program.getSymbolTable().getSymbolsAsIterator(addr).spliterator(), false)
				.anyMatch(sym -> symbolName.equals(sym.getName()));
	}
Creates a default function at the specified address.

@param name name of the new function
@param ns namespace function should be in
@param addr address of the new function
@return {@link Function} that was created
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/MarkupSession.java