input: Write a function to search for a pattern in a string.
  assert search_for_pattern("abcxyzabc", "abc") == True
  assert search_for_pattern("abcxyzabc", "xyz") == True
  assert search_for_pattern("abcxyzabc", "def") == False
output: def search_for_pattern(s, pattern):
      return pattern in s