code: def test_no_counterfactuals_found_local_importance(
      self, desired_class, sample_custom_query_1, total_CFs, version
  ):
      counterfactual_explanations = self.exp.local_feature_importance(
          query_instances=sample_custom_query_1,
          desired_class=desired_class,
          total_CFs=total_CFs,
      )
      counterfactual_explanations.cf_examples_list[
          0
      ].final_cfs_df = None
      counterfactual_explanations.cf_examples_list[
          0
      ].final_cfs_df_sparse = None
      self.verify_counterfactual_explanations(
          counterfactual_explanations,
          None,
          sample_custom_query_1.shape[0],
          version,
          local_importance_available=True,
      )
      counterfactual_explanations_as_json = (
          counterfactual_explanations.to_json()
      )
      recovered_counterfactual_explanations = (
          CounterfactualExplanations.from_json(
              counterfactual_explanations_as_json
          )
      )
      self.verify_counterfactual_explanations(
          recovered_counterfactual_explanations,
          None,
          sample_custom_query_1.shape[0],
          version,
          local_importance_available=True,
      )
      assert (
          counterfactual_explanations
          == recovered_counterfactual_explanations
      )
  
file_path: DiCE/tests/test_counterfactual_explanations.py
imports: import json
  import pytest
  from raiutils.exceptions import UserConfigValidationException
  from dice_ml.counterfactual_explanations import CounterfactualExplanations
label_desc: Use image node_id 8 for calling the TestSerializationCounterfactualExplanations obj's underlying member method code with example usage: obj.test_no_counterfactuals_found_local_importance(desired_class, sample_custom_query_1, total_CFs, version) without return types