func isPolicyEmpty(policy v1alpha1.RetentionPolicy) bool {
	if policy.KeepLast > 0 ||
		policy.KeepHourly > 0 ||
		policy.KeepDaily > 0 ||
		policy.KeepMonthly > 0 ||
		policy.KeepWeekly > 0 ||
		policy.KeepYearly > 0 {
		return true
	}
	return false
}
// isPolicyEmpty returns true if no policy has been configured (all values zero).
isPolicyEmpty returns true if no policy has been configured (all values zero).
// isPolicyEmpty returns true if no policy has been configured ( all values zero ) .
func isPolicyEmpty(policy v1alpha1.RetentionPolicy) bool {
	if policy.KeepLast > 0 ||
		policy.KeepHourly > 0 ||
		policy.KeepDaily > 0 ||
		policy.KeepMonthly > 0 ||
		policy.KeepWeekly > 0 ||
		policy.KeepYearly > 0 {
		return true
	}
	return false
}
func isPolicyEmpty ( policy v1alpha1 . RetentionPolicy ) bool { if policy . KeepLast > 0 || policy . KeepHourly > 0 || policy . KeepDaily > 0 || policy . KeepMonthly > 0 || policy . KeepWeekly > 0 || policy . KeepYearly > 0 { return true } return false }
isPolicyEmpty returns true if no policy has been configured (all values zero).
isPolicyEmpty returns true if no policy has been configured ( all values zero ) .