def METHOD_NAME(name):
	if ".archived" in name:
		return
	new_name = f"{name}.archived"
	new_name = append_number_if_name_exists("Code Server", new_name, separator=".")
	frappe.rename_doc("Code Server", name, new_name)