Anyways you dont need to check which player has been stopped, As you want to both player to be stop after any of the player completes playing. So simply add common listener to both players.
mp0.setOnCompletionListener(cplmp);
mp1.setOnCompletionListener(cplmp);
and stop both players
private MediaPlayer.OnCompletionListener cplmp = new MediaPlayer.OnCompletionListener() {
public void onCompletion(MediaPlayer m) {
if (mp0 != null) {
mp0.stop();
mp0.reset();
}
if (mp1 != null) {
mp1.stop();
mp1.reset();
}
}
};