That's not necessarily the same thing, since len == 1 would be true in your case and false in this case. I don't know which is the correct one though.