public static boolean isNullOrEmpty(String str) {
    return str == null || str.isEmpty();
  }
@param str the {@link String} to examine
@return {@code true} if {@code str} is {@code null} or is an empty string.
ambry-utils/src/main/java/com/github/ambry/utils/Utils.java