public static Namespace getFirstNonFunctionNamespace(Namespace parent, String namespaceName,
			Program program) throws IllegalArgumentException {
		validate(program, parent);
		List<Symbol> symbols = program.getSymbolTable().getSymbols(namespaceName, parent);
		for (Symbol symbol : symbols) {
			if (symbol.getSymbolType().isNamespace() &&
				symbol.getSymbolType() != SymbolType.FUNCTION) {
				return (Namespace) symbol.getObject();
			}
		}
		return null;
	}
Returns the first namespace with the given name and that is NOT a function that
is within the parent namespace. (ie. the first namespace that is not tied to a program
address)

@param parent the parent namespace to search
@param namespaceName the name of the namespace to find
@param program the program to search.
@return the first namespace that matches, or null if no match.
@throws IllegalArgumentException if specified parent Namespace is not valid for 
        specified program.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/NamespaceUtils.java