Now that #3117 has landed, this could use `CollectionUtils.some`.