code: func (r *Router) TLSEnabled(areaID types.AreaID) (bool, error) {
  	r.RLock()
  	defer r.RUnlock()
  
  	area, ok := r.areas[areaID]
  	if !ok {
  		return false, fmt.Errorf("area ID %q does not exist", areaID)
  	}
  
  	return area.useTLS, nil
  }
docs: // Returns whether TLS is enabled for the given area ID