code: def check_predict_correct(pipeline, input_data):
      return is_predict_ignores_target(
          predict_func=pipeline.predict,
          data_arg_name="input_data",
          input_data=input_data,
      )
  
imports: import numpy
  import pytest
  from sklearn.datasets import make_regression
  from sklearn.metrics import mean_squared_error
  from fedot import Fedot
  from fedot.core.data.data import InputData
  from fedot.core.data.data_split import train_test_data_setup
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from test.unit.common_tests import is_predict_ignores_target
  from test.unit.composer.test_metrics import data_setup
label_desc: Use image node_id 1 for calling a global function with example usage: check_predict_correct(pipeline, input_data) and returns: is_predict_ignores_target