def METHOD_NAME(module, dt, dn, create_init):
	if frappe.db.get_value("Module Def", module, "custom"):
		module_path = get_custom_module_path(module)
	else:
		module_path = get_module_path(module)
	dt, dn = scrub_dt_dn(dt, dn)
	# create folder
	folder = os.path.join(module_path, dt, dn)
	frappe.METHOD_NAME(folder)
	# create init_py_files
	if create_init:
		create_init_py(module_path, dt, dn)
	return folder