input: from typing import List
  
  def search_char(input_str: str, given_char: str) -> bool:
      """Searches for a character in a given string.
      >>> search_char("Hello", 'l')
      True
      >>> search_char("Hello", 'a')
      False
      """
      for char in input_str:
          if char == given_char:
              return True
      return False
output:     for char in input_str:
          if char == given_char:
              return True
      return False