private boolean nullOrEmptry(String str) {
    return str == null || str.isEmpty();
  }
If the string is null or empty, return true.
@param str string to check
@return true if the string is either null or is an empty string.
ambry-api/src/main/java/com/github/ambry/messageformat/BlobProperties.java