def is_list_of_list(item):
    """
    check whether the item is list (tuple)
    and consist of list (tuple) elements
    """
    if type(item) in (list, tuple) and len(item) and isinstance(item[0], (
        list, tuple)):
        return True
    return False
