code: private boolean isNewGroup(final OptGroup currentOptGroup)
  	{
  		return (last == null) || !currentOptGroup.getLabel().equals(last.getLabel());
  	}
docs: Checks if it is new group.
  
  @param currentOptGroup
  the current opt group
  @return true, if is new group