def find(func, iterable):
    """
    find the first item in iterable for which func returns something true'ish.
    @returns None if no item in iterable fulfills the condition
    """
    for i in iterable:
        if func(i):
            return i
    return None