input: Write a function to check if a string is a palindrome.
  assert check_palindrome("racecar") == True
  assert check_palindrome("hello") == False
  assert check_palindrome("madam") == True
output: def check_palindrome(s):
      return s == s[::-1]