input: Write a function to filter dataset based on age > 18.
  assert modify_data([{'name': 'John', 'age': 20}, {'name': 'Jane', 'age': 17}], "filter age >18") == [{'name': 'John', 'age': 20}]
  assert modify_data([{'name': 'Alice', 'age': 25}, {'name': 'Bob', 'age': 18}], "filter age >18") == [{'name': 'Alice', 'age': 25}]
  assert modify_data([{'name': 'Tom', 'age': 30}, {'name': 'Jerry', 'age': 19}], "filter age >18") == [{'name': 'Tom', 'age': 30}, {'name': 'Jerry', 'age': 19}]
output: def modify_data(dataset, condition):
      if condition == "filter age >18":
          return [item for item in dataset if item['age'] > 18]