Jonas, Yes, there is some way, Aaron's answer for the mute, gagged and gimped would be correct and safest way to determine.
If it's not working for you, you'd really need to show us a code example of how you're checking.
I'm also unsure why freeze isn't working for you, it's what we use in our own code.