code: def assert_n_grid_search_results(n, grid_search_obj):
      assert grid_search_obj.best_idx_ is not None
      assert len(grid_search_obj.predictors_) == n
      assert len(grid_search_obj.objectives_) == n
      assert len(grid_search_obj.oracle_execution_times_) == n
      assert len(grid_search_obj.lambda_vecs_.columns) == n
      assert len(grid_search_obj.gammas_.columns) == n
  
label_desc: Use image node_id 2 for calling a global function with example usage: assert_n_grid_search_results(n, grid_search_obj) without return types