public static boolean canMergeGroup(Object groupId, Object lastGroupId) {
    return groupId != null && Comparing.equal(lastGroupId, groupId);
  }
public static boolean canMergeGroup(Object groupId, Object lastGroupId)