def areDisjointRanges(self, x1, x2, y1, y2):
        result = False
        if (x1 < y1  and  x2 < y1  and  x1 < y2  and  x2 < y2)  or  (y1 < x1  and  y2 < x1  and  y1 < x2  and  y2 < x2):
            result = True

        return result


    # do two rectangular regions intersect (left/right and/or
    # top/bottom can be interchanged and it still works)
dataset/ETHPy150Open anandology/pyjamas/library/gwt/chart/SymbolType.py/SymbolType.areDisjointRanges/original