Updating if statement to use org.apache.commons.lang.StringUtils to check if title is empty