Check for errors using request.get()

I’ve got some apps deployed on share.streamlit.io. I’d love to be able to write a monitor, that will let me know when the apps crash. Is there a way to tell if an app is running using the http response?

For example, if I use the python:

response = requests.get('https://share.streamlit.io/jkanner/streamlit-pe-demo/main/pe-demo-app.py')

or similar, is there something in the response that can distinguish a running app from an error message? Any other hints would be welcome.

Thank you for your help!

-jonah