code: func validateHashFamily(family string) bool {
  	if family == ProtocolFamilyIPV4 || family == ProtocolFamilyIPV6 {
  		return true
  	}
  	klog.Errorf("Currently supported ip set hash families are: [%s, %s], %s is not supported", ProtocolFamilyIPV4, ProtocolFamilyIPV6, family)
  	return false
  }
docs: // checks if given hash family is supported in ipset