private static void validate(Program program, Namespace namespace)
			throws IllegalArgumentException {
		if (namespace != null && !namespace.isGlobal()) {
			if (program != namespace.getSymbol().getProgram()) {
				throw new IllegalArgumentException(
					"Given namespace does not belong to the given program");
			}
		}
	}
Finds the namespace for the given symbol path <b>that is not a function</b>

@param program the program from which to get the namespace
@param symbolPath the path of namespace names including the name of the desired namespace
@return the namespace represented by the given path, or null if no such namespace exists or
        the namespace is a function
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/NamespaceUtils.java