7.0 PEP8, Deprecation, Spelling and Logic

It's enough with:

if wi_ids: