code: def _verify_counterfactual_data(self, counterfactual_data_list):
      assert counterfactual_data_list is not None
      assert len(counterfactual_data_list) == 1
      assert isinstance(counterfactual_data_list[0], CounterfactualData)
      assert hasattr(counterfactual_data_list[0], "id")
      assert hasattr(counterfactual_data_list[0], "cfs_list")
      assert hasattr(counterfactual_data_list[0], "desired_class")
      assert hasattr(counterfactual_data_list[0], "desired_range")
      assert hasattr(counterfactual_data_list[0], "feature_names")
      assert hasattr(
          counterfactual_data_list[0], "feature_names_including_target"
      )
      assert hasattr(counterfactual_data_list[0], "local_importance")
      assert hasattr(counterfactual_data_list[0], "summary_importance")
      assert hasattr(counterfactual_data_list[0], "model_type")
      assert hasattr(counterfactual_data_list[0], "test_data")
      assert len(
          counterfactual_data_list[0].feature_names_including_target
      ) == len(counterfactual_data_list[0].test_data[0][0])
      assert len(
          counterfactual_data_list[0].feature_names_including_target
      ) == len(counterfactual_data_list[0].cfs_list[0][0])
  
file_path: responsible-ai-toolbox/responsibleai/tests/counterfactual/test_counterfactual_advanced_features.py
imports: import os
  import pytest
  from rai_test_utils.models.lightgbm import create_lightgbm_classifier
  from raiutils.exceptions import UserConfigValidationException
  from responsibleai import RAIInsights
  from responsibleai._interfaces import CounterfactualData
  from responsibleai._internal.constants import FileFormats
  from responsibleai._tools.shared.state_directory_management import DirectoryManager
  from ..common_utils import create_iris_data
label_desc: Use image node_id 5 for calling the TestCounterfactualAdvancedFeatures obj's underlying member method code with example usage: obj._verify_counterfactual_data(counterfactual_data_list) without return types