def list_comprise(list1, list2, **kwargs):
    """
        list_comprise([1,2,3,4,5],[2,3,4],strict=0)
        list_comprise([1,2,3,4,5],[2,3,4])
        list_comprise([1,2,3,4,5],[2,3,4],strict=1)
        list_comprise([1,2,3,4,5],[1,2,3,4],strict=1)
    """
    if 'strict' in kwargs:
        strict = kwargs['strict']
    else:
        strict = 0
    len_1 = list1.__len__()
    len_2 = list2.__len__()
    if len_2 > len_1:
        return False
    elif strict:
        if list2 == list1[:len_2]:
            return True
        else:
            return False
    else:
        end = len_1 - len_2
        for i in range(0, end + 1):
            if list2 == list1[i:i + len_2]:
                return True
            else:
                pass
    return False
