static boolean isBlank ( String value ) { if ( value == null ) { return true ; } for ( char character : value . toCharArray ( ) ) { if ( ! Character . isWhitespace ( character ) ) { return false ; } } return true ; }
Check that given string is blank .