pub fn validate_contains<T: Contains<C>, C>( haystack: T, needle: &C, not: bool, ) -> bool
Validates whether the value contains the needle
See Contains for more details.