input: Write a function in Python to search for a character in a given string.
  
  def serach_char(input_str, char):
    for ch in input_str:
      if ch == char:
        return True
    return False
  assert serach_char("Hello", 'l') == True
  assert serach_char("Hello", 'o') == True
  assert serach_char("Hello", 'x') == False
  assert serach_char("", 'a') == False
  assert serach_char("Hello", 'H') == True
output: def serach_char(input_str, char):
    for ch in input_str:
      if ch == char:
        return True
    return False