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

Remove cases where an array is used in a boolean context