Nitpick: I prefer len() > 0 if the underlying object is guaranteed to have length, because it's more explicit.