def is_sublist(list, sublist):
    """Take a list and potential sublist and compare for membership."""
    # l = The length of each comparison
    # n = The number of equal length sublists in list
    l = len(sublist)
    n = len(list) - l + 1
    if n >= 1:
        for i in range(n):
            if sublist == list[i:i+l]:
                return True
    return False