How to check if certain assertions are enabled?

In reply to Reuben:

The assert ON/Off function does not impact the waveform viewer. If OFF, the trace will show no activities.
If you absolutely need to know this info, set a flag prior to turning the assert ON/OFF.
Ben. Systemverilog.Us