def intersects(self, i):
        '''Returns true iff this interval intersects the interval i'''
        return self.start <= i.end and i.start <= self.end
def intersects(self, i):
        '''Returns true iff this interval intersects the interval i'''
        return self.start <= i.end and i.start <= self.end
def intersects ( self , i ) : return self . start <= i . end and i . start <= self . end
Returns true iff this interval intersects the interval i
Returns true iff this interval intersects the interval i