'Returns `True` if the `LocaleRegexURLResolver` is used
at root level of the urlpatterns, else it returns `False`.'

def is_language_prefix_patterns_used(self):

    return self._is_language_prefix_patterns_used
