def empty(self):
        """Return True if the queue is empty, False otherwise (not reliable!)."""
        self.mutex.acquire()
        n = not self._qsize()
        self.mutex.release()
        return n
def empty(self):
        """Return True if the queue is empty, False otherwise (not reliable!)."""
        self.mutex.acquire()
        n = not self._qsize()
        self.mutex.release()
        return n
def empty ( self ) : self . mutex . acquire ( ) n = not self . _qsize ( ) self . mutex . release ( ) return n
Return True if the queue is empty, False otherwise (not reliable!).
Return True if the queue is empty False otherwise ( not reliable! ) .