SignalState.isInstalled

bool isInstalled() const @safe nothrow @nogc

Check whether the console control handler has been installed.