Take advantage of list's boolness instead of using len()