isPlaying function

Added a tiny function to check whether or not the song is currently playing.