(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplPriorityQueue::isEmpty — Checks whether the queue is empty
This function has no parameters.
Returns whether the queue is empty.