def get_first(iterable, default=None):
    """Get the first not None item from an iterable or default."""
    if iterable:
        for item in iterable:
            if item:
                return item
    return default