Added new Py_IsInitalized() API function to test the 'initialized' flag.
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 9f977f0..22cb86b 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -78,6 +78,14 @@
 
 static int initialized = 0;
 
+/* API to access the initialized flag -- useful for eroteric use */
+
+int
+Py_IsInitialized()
+{
+	return initialized;
+}
+
 /* Global initializations.  Can be undone by Py_Finalize().  Don't
    call this twice without an intervening Py_Finalize() call.  When
    initializations fail, a fatal error is issued and the function does