Retrieves a boolean value that indicates whether this menu contains items.
public boolean getIsParent()
Returns true if the menu contains items; otherwise, returns false.