code: def test_rle_to_mask(coco_counts):
      rle = RLE.from_coco(coco_counts)
      mask = rle.to_mask(17, 1)
      expected = [1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0]
      assert mask.data.reshape(-1).tolist() == expected
  
file_path: icevision/tests/core/test_mask.py
imports: import pytest
  from icevision.all import *
label_desc: Use image node_id 5 for calling a global function with example usage: test_rle_to_mask(coco_counts) without return types