code: def instance_segmentation_record(object_detection_record):
      record = object_detection_record
      record.add_component(InstanceMasksRecordComponent())
  
      record.detection.add_masks(
          [MaskArray(np.ones((2, 4, 4), dtype=np.uint8))]
      )
  
      return record
  
imports: import pytest
  from icevision import *
  from icevision.imports import *
  from icevision.models.torchvision import faster_rcnn, keypoint_rcnn
  from icevision.models.ross import efficientdet
  from icevision.models.ross.efficientdet.backbones import *
  import albumentations
label_desc: Use image node_id 28 for calling a global function with example usage: instance_segmentation_record(object_detection_record) and returns: record