re-wrpte has-submenu