def _use_memcache(self, key, options=None):
    flag = ContextOptions.use_memcache(options)
    if flag is None:
      flag = self._memcache_policy(key)
    if flag is None:
      flag = ContextOptions.use_memcache(self._conn.config)
    if flag is None:
      flag = True
    return flag
Forward attribute setting to the Django settings object.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/ndb/context.py/Context._use_memcache--crossover with--dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/conf/__init__.py/Settings.__setattr__