@classmethod<EOL><INDENT>def aiocache_enabled(cls, fake_return=None):<DEDENT>
def enabled(func):<EOL><INDENT>@functools.wraps(func)<EOL>async def _enabled(*args, **kwargs):<EOL><INDENT>if os.getenv("<STR_LIT>") == "<STR_LIT:1>":<EOL><INDENT>return fake_return<EOL><DEDENT>return await func(*args, **kwargs)<EOL><DEDENT>return _enabled<EOL><DEDENT>return enabled<EOL>
Use this decorator to be able to fake the return of the function by setting the
``AIOCACHE_DISABLE`` environment variable