private static boolean isEmpty(String field){
  if (field == null || field.isEmpty()) {
    return true;
  }
  return false;
}

private static boolean isEmpty ( String field ) { if ( field == null || field . isEmpty ( ) ) { return true ; } return false ; }
convenience method for determining that a field has no data ( i . e . null or spaces ) )
