I\'m trying to solve a homework assignment where I design a function that has 2 inputs, a list of dates and a single integer (a year). The function\'s goal is to return True