How to get the status of DND (do not disturb)

How to get the status of DND?

I have found an old one here: Toggle Do Not Disturb, which does not work on Big Sur.

Also, I have tried

defaults -currentHost read ~/Library/Preferences/ByHost/ doNotDisturb

Which does not work either.

You can check the status using this Apple SCript:

tell application "BetterTouchTool"
	return get_number_variable "SystemDoNotDisturbState"
end tell