input: from typing import Callable
  
  def is_palindrome(s: str) -> Callable:
      """
      This function returns a function that checks if a given string is a palindrome.
  
      Example:
      >>> is_palindrome("madam")()
      True
      >>> is_palindrome("hello")()
      False
      """
      return lambda: s == s[::-1]
output:     return lambda: s == s[::-1]