# google.appengine.api.runtime.is_shutting_down

<br />

|---|
| [View source on GitHub](https://github.com/GoogleCloudPlatform/appengine-python-standard/tree/main/src/google/appengine/api/runtime/runtime.py#L79-L83) |

Returns true if the server is shutting down.

#### View aliases


**Main aliases**

\`google.appengine.api.runtime.runtime.is_shutting_down\`

<br />

    google.appengine.api.runtime.is_shutting_down()