
    Write a function that determines if a student's completed learning achievements overlap with the prerequisites for a new course by comparing their mastery records against the course requirements. The function should accept two lists - one containing the student's completed learning records and another containing the course prerequisites - and return true if there is at least one matching element between them.
    

    
def common_element(list1, list2):
    """
    Write a function that determines if a student's completed learning achievements overlap with the prerequisites for a new course by comparing their mastery records against the course requirements. The function should accept two lists - one containing the student's completed learning records and another containing the course prerequisites - and return true if there is at least one matching element between them.
    

    """
def common_element(list1, list2):
    """
    Write a function that determines if a student's completed learning achievements overlap with the prerequisites for a new course by comparing their mastery records against the course requirements. The function should accept two lists - one containing the student's completed learning records and another containing the course prerequisites - and return true if there is at least one matching element between them.
    

    """
    result = False
    for x in list1:
        for y in list2:
            if x == y:
                result = True
                return result