code: def _test_preds(preds):
      assert len(preds) == 3
      assert isinstance(preds[0].detection.bboxes[0], BBox)
      assert len(preds[0].detection.scores) == len(
          preds[0].detection.labels
      )
      assert len(preds[2].detection.scores) == len(
          preds[2].detection.labels
      )
  
file_path: icevision/tests/models/ultralytics/yolov5/test_prediction.py
imports: import pytest
  from icevision.all import *
  from icevision.models.ultralytics.yolov5.backbones import *
  import albumentations
  from icevision.models.inference_sahi import IceSahiModel
  from sahi.prediction import PredictionResult
label_desc: Use image node_id 3 for calling a global function with example usage: _test_preds(preds) without return types