input: Write a function to check if x is an integer, name is a string, and y is a list.
  assert check_types(5, "hello", [1, 2, 3]) == True
  assert check_types("5", "world", [1, 2, 3]) == False
  assert check_types(5, 123, [1, 2, 3]) == False
  assert check_types(5, "test", "not a list") == False
output: def check_types(x, name, y):
      return isinstance(x, int) and isinstance(name, str) and isinstance(y, list)