@lru_cache.lru_cache(maxsize=None)
def is_language_prefix_patterns_used(urlconf):
    for url_pattern in get_resolver(urlconf).url_patterns:
        if isinstance(url_pattern, LocaleRegexURLResolver):
            return True, url_pattern.prefix_default_language
    return False, False
Return a representation of the given timezone using "location format".
dataset/ETHPy150Open django/django/django/conf/urls/i18n.py/is_language_prefix_patterns_used--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Babel-0.9.6/babel/dates.py/get_timezone_location