def __lt__(self, other):
if self.time == other.time:
return self.is_start
return self.time < other.time
I do not understand how this part of code work here. Really appreciate if someone can help me to understand the function