private Symbol searchNamespaceForSymbol(Namespace namespace, String name, Address address) {
		for (Symbol symbol : getSymbols(namespace)) {// NOTE: thunks do not exist in external space
			if (address.equals(symbol.getAddress()) && name.equals(symbol.getName())) {
				return symbol;
			}
		}
		return null;
	}
Removes the symbol directly

@param sym the symbol to remove.
@return true if the symbol was removed, false otherwise.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/symbol/SymbolManager.java