def has_ended(self): """ Returns whether the course has ended. """ return course_metadata_utils.has_course_ended(self.end)