Refactored IsFinished() into IsPlaying() function.