Check if Android MediaPlayer has been initialized

view story

http://stackoverflow.com – How does one check if a MediaPlayer object has been initialized? Is there something like a: MediaPlayer mp; if(mp.isInitialized()) Log.v("Test", "mp has been initialized. :D "); else Log.v("Test", "mp is NOT yet initialized. :( "); Of course, I checked the API Documentation and there isn't a method like that, but is there a similar approach? I'm considering just going through my code and just catching the thrown Exception if it ever triggers, but I find that unelegant. :P EDIT: My code was intended to go through like this: MediaPlayer mp; // Lorem ipsum dolor sit amet consectet (HowTos)