
    Given a student's complete learning pathway and a specific sequence of prerequisite skills, determine if the prerequisite sequence exists within the student's current learning path. The prerequisite sequence must appear in the same order within the learning path to be considered valid.
    

    
def is_sublist(l, s):
    """
    Given a student's complete learning pathway and a specific sequence of prerequisite skills, determine if the prerequisite sequence exists within the student's current learning path. The prerequisite sequence must appear in the same order within the learning path to be considered valid.
    

    """
def is_sublist(l, s):
    """
    Given a student's complete learning pathway and a specific sequence of prerequisite skills, determine if the prerequisite sequence exists within the student's current learning path. The prerequisite sequence must appear in the same order within the learning path to be considered valid.
    

    """
    sub_set = False
    if s == []:
        sub_set = True
    elif s == l:
        sub_set = True
    elif len(s) > len(l):
        sub_set = False
    else:
        for i in range(len(l)):
            if l[i] == s[0]:
                n = 1
                while n < len(s) and l[i + n] == s[n]:
                    n += 1
                if n == len(s):
                    sub_set = True
    return sub_set