input: Write a python function to detect the presence of a target word in a text.
  assert detect_word('apple', 'I like apples, they are sweet and juicy.') == False
  assert detect_word('apples', 'I like apples, they are sweet and juicy.') == True
  assert detect_word('sweet', 'I like apples, they are sweet and juicy.') == True
  assert detect_word('banana', 'I like apples, they are sweet and juicy.') == False
output: def detect_word(target, text):
      words = text.split()
      return target in words