variable isParent=true create class submenu