input: from typing import List
  
  def is_palindrome(s: str) -> bool:
      """Checks if the given string s is a palindrome.
      >>> is_palindrome('madam')
      True
      >>> is_palindrome('hello')
      False
      """
      return s == s[::-1]
output:     return s == s[::-1]