This inspection reports
!collection.isEmpty()
call can be replaced with
collection.isNotEmpty()