def exists(self, func):
        for element in self:
            if func(element):
                return True
        return False
Returns True if an element in the sequence makes func evaluate to True.
dataset/ETHPy150Open EntilZha/PyFunctional/functional/pipeline.py/Sequence.exists