def first(the_iterable, condition=lambda x: True):
    """
    Finds first item in iterable that meets condition
    """
    for i in the_iterable:
        if condition(i):
            return i
    return None