@cached_property
    def formatted_exception(self):
        if self.exc_info is not None and self.exc_info != (None, None, None):
            rv = ''.join(traceback.format_exception(*self.exc_info))
            if PY2:
                rv = rv.decode('utf-8', 'replace')
            return rv.rstrip()
Return True if the queue is empty, False otherwise (not reliable!).
dataset/ETHPy150Open getlogbook/logbook/logbook/base.py/LogRecord.formatted_exception--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/Queue.py/Queue.empty