input: Write a function to search for a pattern in a given text and return whether it was found using regular expressions.
  assert search_pattern("cat", "The cat jumped over the fence") == True
  assert search_pattern("dog", "The cat jumped over the fence") == False
  assert search_pattern("fence", "The cat jumped over the fence") == True
output: import re
  
  def search_pattern(pattern, text):
      return bool(re.search(pattern, text))