code: def complete(self):
          
          if self.scan_limit is not None and self.scan_limit == 0:
              return True
          if self.item_limit is not None and self.item_limit == 0:
              return True
          return False
docs: Return True if the limit has been reached