private boolean isMusicPlayer(){
  return playerSetting != null && playerSetting.equalsIgnoreCase("musicPlayer");
}

private boolean isMusicPlayer ( ) { return playerSetting != null && playerSetting . equalsIgnoreCase ( "musicPlayer" ) ; }
helper method that tells us if we are using musicplayer . if false we are using fileplayer .
