How to check value of exit_on_sigint programmatically?

The Base.exit_on_sigint(bool) function allows to set whether Julia terminates upon receiving a sigint signal. Now, I am wondering whether I can get the value somehow programmatically? Is there a way? The docstring doesn’t seem to give a concrete way of doing it :slight_smile:

Or more generally, how do I programmatically check what flags the Julia runtime has been started with?