def is_shutting_down():
  with __shutdown_mutex:
    shutting_down = __shuting_down
  return shutting_down
Returns true if the server is shutting down.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/runtime/runtime.py/is_shutting_down