code: def verify_explanations(self, explanations, is_global=True):
      assert explanations is not None
      assert isinstance(explanations, ModelExplanationData)
      assert not hasattr(explanations, "modelClass")
      assert not hasattr(explanations, "explanationMethod")
      assert hasattr(explanations, "precomputedExplanations")
      assert hasattr(
          explanations.precomputedExplanations,
          "globalFeatureImportance",
      )
      if is_global:
          assert not hasattr(
              explanations.precomputedExplanations,
              "localFeatureImportance",
          )
      else:
          assert hasattr(
              explanations.precomputedExplanations,
              "localFeatureImportance",
          )
  
file_path: responsible-ai-toolbox/responsibleai/tests/explainer/test_explainer_manager.py
imports: import pandas
  import pytest
  from rai_test_utils.models.lightgbm import create_lightgbm_classifier
  from rai_test_utils.models.sklearn import create_complex_classification_pipeline
  from raiutils.exceptions import UserConfigValidationException
  from responsibleai._interfaces import ModelExplanationData
  from responsibleai.feature_metadata import FeatureMetadata
  from responsibleai.rai_insights import RAIInsights
  from ..common_utils import ADULT_CATEGORICAL_FEATURES_AFTER_DROP, ADULT_DROPPED_FEATURES, create_adult_income_dataset, create_iris_data
label_desc: Use image node_id 1 for calling the TestExplainerManager obj's underlying member method code with example usage: obj.verify_explanations(explanations, is_global) without return types