`CollectionUtils.isNotEmpty` is ideal for this.