input: Write a function to determine whether a given sentence is an 'affirmative' sentence or a 'negative' sentence by identifying negation words in the sentence. If the sentence contains any negation words, it is categorized as 'negative', otherwise, it is 'affirmative'. The function should return a string indicating the category. If the sentence is empty, it should return 'Affirmative'.
  
  assert isAffirmativeorNegative("He always comes late but I dont mind.") == "Negative"
  assert isAffirmativeorNegative("She is very kind.") == "Affirmative"
  assert isAffirmativeorNegative("No one likes the movie.") == "Negative"
  assert isAffirmativeorNegative("") == "Affirmative"
output: def isAffirmativeorNegative(sentence):
      negation_words = ["no", "not", "never", "none", "nobody", "nothing", "neither", "nowhere", "hardly", "scarcely", "barely", "dont", "doesnt", "didnt", "wont", "wouldnt", "cant", "couldnt", "shouldnt", "isnt", "arent", "wasnt", "werent"]
      if not sentence:
          return "Affirmative"
      for word in sentence.lower().split():
          if word in negation_words:
              return "Negative"
      return "Affirmative"