i am sure this must have been asked before in different ways - as isEmptyOrNull is so common yet people implement it differently. but i have below curious query in terms of
Apache Commons Lang has StringUtils.isEmpty(String str) method which returns true if argument is empty or null
StringUtils.isEmpty(String str)