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