input: Write a python function to analyze the polarity of a given sentence using NLTK and return the polarity scores.
  assert analyze_polarity("I had a great day yesterday") == {'neg': 0.0, 'neu': 0.556, 'pos': 0.444, 'compound': 0.6908}
  assert analyze_polarity("This is a terrible mistake") == {'neg': 0.556, 'neu': 0.444, 'pos': 0.0, 'compound': -0.5719}
  assert analyze_polarity("I love this!") == {'neg': 0.0, 'neu': 0.332, 'pos': 0.668, 'compound': 0.6696}
output: def analyze_polarity(sentence):
      from nltk.sentiment.vader import SentimentIntensityAnalyzer
      sia = SentimentIntensityAnalyzer()
      return sia.polarity_scores(sentence)