Remove cases where an array is used in a boolean context
Merge pull request #1727 from yebblies/issue4733

Remove cases where an array is used in a boolean context