def intersecting_ranges(ranges):
 ranges = sorted(ranges, key=op.attrgetter('start'))
 return sorted_diff(ranges, group_ranges(ranges))

def intersecting_ranges ( ranges ) : ranges = sorted ( ranges , key = op . attrgetter ( 'start' ) ) return sorted_diff ( ranges , group_ranges ( ranges ) )
return any ranges that intersect .