pyInitialized top-level property Null safety

bool pyInitialized

Checks whether the python runtime was initialized

Implementation

bool get pyInitialized {
  final inited = dartpyc.Py_IsInitialized();
  return inited != 0;
}