Use `if array.empty?`