input: Write a python function to check if an element exists in a list.
  assert search_list([1, 2, 3, 4, 5], 3) == True
  assert search_list([1, 2, 3, 4, 5], 6) == False
  assert search_list(['apple', 'banana', 'cherry'], 'banana') == True
  assert search_list(['apple', 'banana', 'cherry'], 'grape') == False
output: def search_list(lst, elem):
      return elem in lst