public final boolean isAnyChildOpened() {
    for (MenuItem item : myItems) {
      if (item instanceof Menu && ((Menu)item).myIsOpened) {
        return true;
      }
    }
    return false;
  }
public final boolean isAnyChildOpened()