use zend_hash_has_more_elements to test hash element