def is_running_from_reloader():
 return (os.environ.get('WERKZEUG_RUN_MAIN') == 'true')

def is_running_from_reloader ( ) : return ( os . environ . get ( 'WERKZEUG_RUN_MAIN' ) == 'true' )
checks if the application is running from within the werkzeug reloader subprocess .