docs: def rollover (self):
          """Indicates whether or not its time to rollover to a new file."""
          rollover = False
  
          if not rollover and self._threshold.nbytes is not None:
              rollover = self._total.nbytes >= self._threshold.nbytes
  
          if not rollover and self._threshold.npackets is not None:
              rollover = self._total.npackets >= self._threshold.npackets
  
          if not rollover and self._threshold.nseconds is not None:
              nseconds = math.ceil(self._total.nseconds)
              rollover = nseconds >= self._threshold.nseconds
  
          return rollover