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