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