Controlling System Sounds in AppInventor

Can we code to check if the system sound is off in AppInventor?

Yeah Im trying to do something like that too.

Maybe this extension:

or this:

And this extension to control the internal device volumes: