Access microphone status in formulas (muted / unmuted)

t would be great if there was a formula for evaluating the current status of the phone's microphone.


This all started with trying to find a way to "mute" my mic while on a call without using the "soft key" mute buttons to mute myself within various calling apps. I found an app called Button Mapper, which lets me toggle mute/unmute by 2x clicking my volume down physical button. When that action is taken, a toast notification pops up and lets me know that the mic is muted or not..... and then that's it. There's no indicator in the status bar or anywhere showing if I'm still on mute.