Use the new StringUtils::emptyOrSpaces() method