@Override
	public boolean applyTo(Program program) {

		try {
			leafNamespace = NamespaceUtils.createNamespaceHierarchy(namespacesString, rootNamespace,
				program, source);

			if (leafNamespace != null) {
				return true;
			}
		}
		catch (InvalidInputException e) {
			// this means that a name was not of a valid format,
			// so let's bounce that back to the user
			statusMsg = e.getMessage();
			return false;
		}

		statusMsg = "Unable to create namespaces from namespace " + "string: " + namespacesString;
		return false;
	}
Takes a namespace string that will be parsed and the results of which
will be used for creating the namespaces if they do not exist.

@param namespacesString The string to be parsed.
@param parentNamespace The namespace to be used as the starting parent
       of the namespaces that will be created.
@param source the source of the namespace
@throws NullPointerException if <code>namespaceString</code> is <code>null</code>.
@see   <a href="#examples">example format</a>
@see   <a href="#assumptions">assumptions</a>
Ghidra/Features/Base/src/main/java/ghidra/app/cmd/label/CreateNamespacesCmd.java