def METHOD_NAME():
    import sys
    from functools import lru_cache
    @lru_cache()
    def cached_func():
        pass
    type_entity = getattr(sys.modules['functools'], '_lru_cache_wrapper')
    assert isinstance(cached_func, type_entity), "lru_cache should not be using the python-based version"