def any_generated(gen):
for v in gen:<EOL><INDENT>if bool(v):<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return False<EOL>
like `any` but returns False for empty generators
    >>> any_generated((v for v in (0,object())))
    True
    >>> any_generated((v for v in (0,False)))
    False
    >>> any_generated((v for v in ()))
    False