public static boolean isNullOrEmpty(String... input){
  if (input == null) {
    return true;
  }
  for (  String s : input) {
    if (s == null || s.isEmpty()) {
      return true;
    }
  }
  return false;
}

public static boolean isNullOrEmpty ( String ... input ) { if ( input == null ) { return true ; } for ( String s : input ) { if ( s == null || s . isEmpty ( ) ) { return true ; } } return false ; }
checks if any of the string arguments is null or empty .
