empty#

Queue.empty() → bool[source]#

Whether the queue is empty.

Returns:

True if the queue has no items, otherwise False.

Return type:

bool