def importHelper(self, struct):
        m = StrStrHashMap()
        keysAndValues = struct.get(self.__field)
        for i in range(0, len(keysAndValues), 2):
            m[keysAndValues[i]] = keysAndValues[i+1]
        return m
def deadline_for_course(cls, course_key):
        """
        Retrieve the verification deadline for a particular course.

        Arguments:
            course_key (CourseKey): The identifier for the course.

        Returns:
            datetime or None

        """
        try:
            deadline = cls.objects.get(course_key=course_key)
            return deadline.deadline
        except cls.DoesNotExist:
            return None