Page id orfan and child active

When we click on a submenu of a menu, the parent menu is not active.
isActive (true) solves esseproblema.
In the menu that we do not want to appear submenus add the 'id' => 'orfan'