It is very commonly needed in loop conditions to check if the items in the heap are good enough to continue.