code: def test_explainer_contains(
      precalculated_rf_classifier_explainer, test_names
  ):
      assert 1 in precalculated_rf_classifier_explainer
      assert test_names[0] in precalculated_rf_classifier_explainer
      assert 1000 not in precalculated_rf_classifier_explainer
      assert "randomname" not in precalculated_rf_classifier_explainer
  
imports: import pytest
  import pandas
  import numpy
  from pandas.api.types import is_categorical_dtype, is_numeric_dtype
  import plotly.graph_objects
  from explainerdashboard import ClassifierExplainer, ExplainerDashboard
  from explainerdashboard.explainer_methods import IndexNotFoundError
label_desc: Use image node_id 2 for calling a global function with example usage: test_explainer_contains(precalculated_rf_classifier_explainer, test_names) without return types