The itertools documentation¹ include a recipe to do just that, and links to the excellent more-itertools² package which bundles up a heap of recipes that make iterators even better. This specific case is handled by first_true² in more-itertools.
¹ https://docs.python.org/3/library/itertools.html#itertools-r...
² https://more-itertools.readthedocs.io/en/stable/api.html#mor...