input: Write a function to check if the given string is a palindrome.
  assert check_palindrome("level") == True
  assert check_palindrome("world") == False
  assert check_palindrome("Racecar") == True
output: def check_palindrome(s):
      s = s.lower()
      return s == s[::-1]