code: def check_predict_cnn_correct(model, dataset_to_validate):
      return is_predict_ignores_target(
          predict_func=predict_cnn,
          predict_args={"trained_model": model},
          data_arg_name="predict_data",
          input_data=dataset_to_validate,
      )
  
imports: import numpy
  from test.unit.common_tests import is_predict_ignores_target
  from test.unit.tasks.test_classification import get_image_classification_data
  from fedot.core.operations.evaluation.operation_implementations.models.keras import FedotCNNImplementation, check_input_array, create_deep_cnn, fit_cnn, predict_cnn
label_desc: Use image node_id 1 for calling a global function with example usage: check_predict_cnn_correct(model, dataset_to_validate) and returns: is_predict_ignores_target