code: def test_object_detection_coco_without_display(
      coco_visiondata_train, coco_visiondata_test
  ):
      # Act
      result = NewLabels().run(
          coco_visiondata_train,
          coco_visiondata_test,
          with_display=False,
      )
      # Assert
      assert_that(
          result.value["new_labels"],
          has_entries({"donut": 14, "tennis racket": 7}),
      )
      assert_that(result.value, has_entries(all_labels_count=387))
      assert_that(result.display, has_length(0))
  
file_path: deepchecks/tests/vision/checks/train_test_validation/new_labels_test.py
imports: from hamcrest import assert_that, equal_to, greater_than, has_entries, has_items, has_length
  from deepchecks.vision.checks import NewLabels
  from deepchecks.vision.datasets.classification.mnist_torch import collate_without_model
  from deepchecks.vision.datasets.detection.coco_torch import collate_without_model
  from deepchecks.vision.utils.test_utils import replace_collate_fn_visiondata
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 2 for calling a global function with example usage: test_object_detection_coco_without_display(coco_visiondata_train, coco_visiondata_test) without return types