Queue.empty()
Return True
if the queue is empty, False
otherwise. If empty() returns True
it doesn’t guarantee that a subsequent call to put() will not block. Similarly, if empty() returns False
it doesn’t guarantee that a subsequent call to get() will not block.
Please login to continue.