There is technically wrong with this line, but a cleaner way is this:

```ruby
if wlan_list.blank?
	# code
end
```

because ```blank?``` checks both nil and empty.