def last_group(self, getter=None):
        if self.last:
            return True
        return self._compare_group(self.item, self.__next__, getter)
Returns true if this item is the end of a new group,
dataset/ETHPy150Open mne-tools/mne-python/mne/externals/tempita/_looper.py/loop_pos.last_group