input: Write a function to search for a character in a given string. If the character is found in the string, return True, otherwise return False. If the given string is empty, return False.
  def serach_char(input_str, char):
    for input_char in input_str:
      if input_char == char:
        return True
    return False
  assert serach_char("Hello", 'l')==True
  assert serach_char("Hello", 'o')==True
  assert serach_char("Hello", 'z')==False
  assert serach_char("", 'a')==False
output: def serach_char(input_str, char):
    for input_char in input_str:
      if input_char == char:
        return True
    return False