isDeviceMuted

Checks whether the device's music stream is muted.

This inspects the current volume level for the music stream and returns true when it is at zero, which indicates the device is effectively muted for playback.

Return

true if the music stream volume is 0, false otherwise