// Returns true if the slice contains the policy type
Returns true if the slice contains the policy type
// Returns true if the slice contains the policy type
func containsPolicyTypes(s []netv1.PolicyType, value netv1.PolicyType) bool {
	for _, a := range s {
		if a == value {
			return true
		}
	}
	return false
}
func containsPolicyTypes ( s [ ] netv1 . PolicyType , value netv1 . PolicyType ) bool { for _ , a := range s { if a == value { return true } } return false }
Returns true if the slice contains the policy type
Returns true if the slice contains the policy type