title: How to check if MediaPlayer is released()?
body: <p>I want to check if MediaPlayer is released - how to check it? I found that isPlaying generate exception instead of false - it is complicated how to do it in simple way.</p>
  
  <pre><code>    mediaPlayer = new MediaPlayer();
      mediaPlayer.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {
          @Override
          public void onCompletion(MediaPlayer mp) {
              mediaPlayer.release();
          }
      });
  </code></pre>