func (h *hamtBase) IsEmpty() bool {
	return h.nentries == 0
}
IsEmpty simply returns if the HamtFunctional datastucture has no entries.
package hamt32
import (
	"fmt"
)
type hamtBase struct {
	root       fixedTable
	nentries   uint
	nograde    bool
	startFixed bool
}
func (h *hamtBase) init(tblOpt int) {
	switch tblOpt {
	case HybridTables:
		h.nograde = false
	case SparseTables:
		h.nograde = true
	case FixedTables:
		h.nograde = true
		h.startFixed = true
	}
}