input: Write a python function to retrieve the list of student names from the given student data.
  assert get_student_names(student_data) == ['John']
  assert get_student_names([]) == []
  assert get_student_names([
      {
          'name': 'Alice',
          'id': 101,
          'subjects': {'Math': 85}
      },
      {
          'name': 'Bob',
          'id': 102,
          'subjects': {'English': 78}
      }
  ]) == ['Alice', 'Bob']
output: def get_student_names(student_data):
      return [student['name'] for student in student_data]