def type_chain(iterable, type_iterable):
    """ Compares the type chain of an iterable, checks with only the first element
    Args:
        iterable (list): a list
        type_iterable (list): type chain
    Returns:
        bool: If the type chain is true for the iterable.
    """
    for c_type in type_iterable:
        if type(iterable) != c_type:
            return False
        try:
            iterable = iterable[0]
        except:
            pass
    return True