I have two ways of checking if a List is empty or not
if (CollectionUtils.isNotEmpty(listName))
and
if (listName != null
I would use the first one. It is clear to see right away what it does. I dont think the null check is necessary here.