Fix list truthiness

- [ ] Fix truthiness of list
- [x] Test truthiness of non-empty list
- [ ] Test truthiness of empty list
- [ ] [Sign CLA](http://codecombat.com/cla)

This PR will be ready to merge when all tasks are checked (and it passes review).

Closes #1958