maybe use `CollectionUtils.isEmpty` here as well?