bool ngSpice_running (void)

Checks if ngspice is running in its background thread (returning 'true').