code: func (ss *subStore) hasActiveSubs() bool {
  	ss.RLock()
  	defer ss.RUnlock()
  	if len(ss.psubs) > 0 {
  		return true
  	}
  	for _, qsub := range ss.qsubs {
  		// For a durable queue group, when the group is offline,
  		// qsub.shadow is not nil, but the qsub.subs array should be
  		// empty.
  		if len(qsub.subs) > 0 {
  			return true
  		}
  	}
  	return false
  }
docs: // hasSubs returns true if there is any active subscription for this subStore.
  // That is, offline durable subscriptions are ignored.