input: Write a python function to check if a word is present in a given text.
  assert search("hello", "hello world") == True
  assert search("Python", "I love programming in Python") == True
  assert search("Java", "I love programming in Python") == False
  assert search("data", "data science is fascinating") == True
  assert search("science", "data science is fascinating") == True
output: def search(word, text):
      return word in text