This inspection detects
size == 0
checks of
Collections/Array/String
that should be replaced with
isEmpty()
.