public static boolean isEmpty ( final String ... values ) { if ( values == null || values . length == 0 ) return true ; for ( String value : values ) if ( value == null || value . length ( ) == 0 ) return true ; return false ; }
Are any given values null or empty?