IsNextLastThis
bool IsNextLastThis();
&& !elements[index].IsNextLastThis())
} else if (index > 0 && elements[index - 1].IsNextLastThis()) {