def _is_lang_change(self, request):
        if 'lang' not in request.GET:
            return False

        return not any(request.path.endswith(url) for url in self.exempt_urls)
Find the intersection of two Rect s.
dataset/ETHPy150Open mozilla/funfactory/funfactory/middleware.py/LocaleURLMiddleware._is_lang_change--crossover with--dataset/ETHPy150Open los-cocos/cocos/cocos/rect.py/Rect.intersect