Removes len() on empty sequence evaluation
Removes len() on empty sequence evaluation

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

Change-Id: I4c600a7a6230a55328ee46f7c59f340f37abc18f

openstack/oslo.concurrency,varunarya10/oslo.concurrency,JioCloud/oslo.concurrency