code: def try_next(self):
          
          with self.condition:
              try:
                  return self.force[0]
              except IndexError:
                  pass
  
              return self._get_next(False)
docs: Like next(), but only returns the item that would be selected
          right now, without locking and without changing the queue.