def one_of_in(lst, val):
    """
    Returns True if one of the items in the given list exists
    in the given value, False otherwise.
    """
    for l in lst:
        if l in val:
            return True
    
    return False