    def end_of_epoch(self) -> bool:
        """Returns whether the most recent epoch iterator has been exhausted"""
        raise NotImplementedError
Returns whether the most recent epoch iterator has been exhausted
fairseq/data/iterators.py