input: def search_char(input_str: str, char: str) -> bool:
      """Search for a character in a given string.
      >>> search_char("Hello", 'l')
      True
      >>> search_char("Hello", 'a')
      False
      """
output:     for c in input_str:
          if c == char:
              return True
      return False