pub fn valid_name_length(min: usize, max: usize) -> impl Predicate<String>
Create a predicate that checks if a string length is within bounds.