input: def is_palindrome(s: str) -> bool:
      """Check if the given string is a palindrome.
      
      >>> is_palindrome("racecar")
      True
      >>> is_palindrome("hello")
      False
      """
output:     return s == s[::-1]