<doocs>0252.Meeting Rooms_1.py
def canAttendMeetings( intervals: List[List[int]]) -> bool:
    intervals.sort(key=lambda x: x[0])
    for i in range(len(intervals) - 1):
        if intervals[i][1] > intervals[i + 1][0]:
            return False
    return True
def sample_funcname ( var_0 : List [ List [ int ] ] ) -> bool :
    var_0.sort ( var_5 = lambda var_6 : var_6 [ 0 ] )
    for var_11 in range ( len ( var_0 ) - 1 ) :
        if var_0 [ var_11 ] [ 1 ] > var_0 [ var_11 + 1 ] [ 0 ] :
            return False
    return True
