code: def empty(self) -> bool:
          
          return self._seen_kork or self._queue.qsize() <= self._posted_kork
docs: Checks if all information has been consumed.
  
          If the queue is empty, but the analysis is still ongoing, then further
          information can become available in the future.
  
          If the queue is not empty, then the next call to
          :func:`~chess.engine.AnalysisResult.get()` will return instantly.