Improved conditional for iterator

{} isn't falsy