private boolean labelAlreadyExists(Address addr, String name) {
		SymbolTable symbolTable = program.getSymbolTable();
		SymbolIterator symbols = symbolTable.getSymbolsAsIterator(addr);
		for (Symbol symbol : symbols) {
			if (symbol.getName().equals(name)) {
				return true;
			}
		}
		return false;
	}
Creates an analysis (not user defined) type of label with the specified name at the
program's address.
@param addr the address
@param label the name for the label
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/string/MakeStringsTask.java