def METHOD_NAME(self, timestamp: int, hash_bytes: bytes, count: int) -> tuple[list[bytes], bool]:
    it = (x for _, x in self._iter(timestamp, hash_bytes, reverse=True))
    return collect_n(it, count)