def first_match(predicate, iterable):
    for item in iterable:
        if predicate(item):
            return item
    return None
Gets the first element matched by the predicate
dataset/ETHPy150Open hyde/hyde/hyde/util.py/first_match