input: Write a function to check if a list contains a specified value.
  assert check_if_contains([1, 2, 3, 4, 5], 3) == True
  assert check_if_contains([1, 2, 3, 4, 5], 6) == False
  assert check_if_contains(['apple', 'banana', 'cherry'], 'banana') == True
  assert check_if_contains(['apple', 'banana', 'cherry'], 'pear') == False
output: def check_if_contains(lst, value):
      return value in lst