def can_attend_meetings(intervals):
intervals = sorted(intervals, key=lambda x: x.start)<EOL>for i in range(<NUM_LIT:1>, len(intervals)):<EOL><INDENT>if intervals[i].start < intervals[i - <NUM_LIT:1>].end:<EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
:type intervals: List[Interval]
:rtype: bool