code: def done(self):
          
          if self._done:
              return self._done
  
          if self._limit is None:
              self._done = False
          elif self.itemcount >= self._limit:
              self._done = True
  
          return self._done
docs: Check if we should stop returning objects