input: Write a function to search for a target character in a given string. If the character is found in the string, return True; otherwise, return False. If the string is empty, return False.
  assert search_char("Hello", 'l')==True
  assert search_char("Hello", 'a')==False
  assert search_char("", 'l')==False
output: def search_char(s, target):
      if not s:
          return False
      return target in s