Removes len() on empty sequence evaluation

PEP8 suggestes, "For sequences, use the fact that empty sequences are false."

Change-Id: I4c600a7a6230a55328ee46f7c59f340f37abc18f
Merge "Removes len() on empty sequence evaluation"