@Override
	public boolean applyTo(Program program) {
		Listing listing = program.getListing();
		ProgramModule m = listing.getModule(treeName, parentName);
		if (m == null) {
			statusMsg = "Folder named " + parentName + " does not exist";
			return false;
		}

		try {
			m.createModule(name);
			return true;
		}
		catch (DuplicateNameException e) {
			statusMsg = name + " already exists";
		}
		return false;
	}
@param treeName name of the tree where the new Module will reside
@param name of the new Module
@param parentName name of the parent module
Ghidra/Features/Base/src/main/java/ghidra/app/cmd/module/CreateFolderCommand.java