code: def check_common(self, plot_obj, target_type):
      assert plot_obj.plot_type == "interact_target"
      assert all(
          isinstance(info, FeatureInfo)
          for info in plot_obj.feature_infos
      )
      assert len(plot_obj.feature_infos) == 2
  
      if target_type == "multi-class":
          assert plot_obj.target == [
              f"target_{i}" for i in range(plot_obj.n_classes)
          ]
      else:
          assert plot_obj.target == ["target"]
      assert set(plot_obj.df.columns) == set(
          plot_obj.feature_cols
          + ["x1", "x2", "count"]
          + plot_obj.target
      )
  
      summary_cols = [
          "x1",
          "x2",
          "value_1",
          "value_2",
          "count",
      ] + plot_obj.target
      for i in range(2):
          if plot_obj.feature_infos[i].percentiles is not None:
              summary_cols.append(f"percentile_{i+1}")
      assert set(plot_obj.summary_df.columns) == set(summary_cols)
      assert set(plot_obj.plot_df.columns) == set(
          ["x1", "x2", "count"] + plot_obj.target
      )
  
imports: import pytest
  import numpy
  from pdpbox.info_plots import TargetPlot, PredictPlot, InteractTargetPlot, InteractPredictPlot
  from pdpbox.utils import FeatureInfo, _make_list
  from conftest import DummyModel, PlotTestBase
label_desc: Use image node_id 2 for calling the TestInteractTargetPlot obj's underlying member method code with example usage: obj.check_common(plot_obj, target_type) without return types