code: def _check_X_y(
      X, y, n_instances, n_columns, n_timepoints, check_numpy=False
  ):
      if check_numpy:
          _check_X_y_numpy(X, y, n_instances, n_columns, n_timepoints)
      else:
          _check_X_y_pandas(X, y, n_instances, n_columns, n_timepoints)
  
file_path: sktime/sktime/utils/_testing/tests/test_panel.py
imports: import numpy
  import pandas
  import pytest
  from sktime.datatypes import check_is_mtype
  from sktime.utils._testing.panel import _make_panel, make_classification_problem, make_regression_problem
label_desc: Use image node_id 3 for calling a global function with example usage: _check_X_y(X, y, n_instances, n_columns, n_timepoints, check_numpy) without return types