public static boolean isEmpty(CharSequence cs) {
    return cs == null || cs.length() == 0;
  }
Checks if the input string/char sequence is empty
@param cs Input char sequence
@return true if empty and false if not
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/StringUtils.java