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