input: Write a python function to check if a given sentence is a question.
  assert is_question("The weather is cold today")==False
  assert is_question("Is it raining outside?")==True
  assert is_question("What time is it?")==True
  assert is_question("It's a sunny day.")==False
output: def is_question(sentence):
      return sentence.strip().endswith('?')