Bugfix: A generator (py3) is always True