Shahid, IsPaused is a special keyword - it is used in reference to Activities and services to see if they are still running or not. So you cannot use
it to determine the paused state of the player.
I use a routine somewhat like this, with PlayerPaused as a global variable:
If MP.IsPlaying Then
MP.Pause
' It was playing and now it is paused:
PlayerPaused = True
End If