code: def test_metrics(precalculated_catboost_classifier_explainer):
      assert isinstance(
          precalculated_catboost_classifier_explainer.metrics(), dict
      )
      assert isinstance(
          precalculated_catboost_classifier_explainer.metrics(
              cutoff=0.9
          ),
          dict,
      )
      assert isinstance(
          precalculated_catboost_classifier_explainer.metrics_descriptions(
              cutoff=0.9
          ),
          dict,
      )
  
imports: import pandas
  import numpy
  from pandas.api.types import is_categorical_dtype, is_numeric_dtype
  import plotly.graph_objs
label_desc: Use image node_id 30 for calling a global function with example usage: test_metrics(precalculated_catboost_classifier_explainer) without return types