def _ProcessWaiters(self):
    """Iterates over list of waiters, returning new ids from the
    allocation stream. Returns true if all waiters were processed;
    false otherwise.
    """
    while len(self._waiters) and self._last_id < self._cur_id:
      self._waiters.popleft()()
    return len(self._waiters) == 0
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/id_allocator.py/IdAllocator._ProcessWaiters/swapped operands of `<`