hmap: New function hmap_is_empty().