input: Write a python function to detect a specific character in a string.
  assert detect_character('Python', 'y') == True
  assert detect_character('Python', 'z') == False
  assert detect_character('Hello, World!', 'W') == True
  assert detect_character('Hello, World!', 'x') == False
output: def detect_character(string, char):
      return char in string