code: func (h *HookStats) GetActiveHooks() int {
  	if h == nil || h.ActiveHooks == nil {
  		return 0
  	}
  	return *h.ActiveHooks
  }
docs: // GetActiveHooks returns the ActiveHooks field if it's non-nil, zero value otherwise.