heap: add example on empty heap check