Some
func Some[T any](slice []T, predicate func(value T, index int, slice []T) bool) bool
Some takes a slice of type T and a predicate function, returning true if the predicate returned true for some elements. The function is passed the current element, the current index and the slice itself as function arguments.