question: protected boolean existsInRange ( String x , int minLength , int maxLength ) { x = StringUtils . trimToNull ( x ) ; return x != null && x . length ( ) >= minLength && x . length ( ) <= maxLength ; }
target:  Checks if string has a length in a certain range.