code: def masks(self, o) -> List[MaskArray]:
      seg = o["segmentation"]
      if o["iscrowd"]:
          return [RLE.from_coco(seg["counts"])]
      else:
          return [Polygon(seg)]
  
imports: from icevision.imports import *
  from icevision.core import *
  from icevision.utils import *
  from icevision.parsers import *
label_desc: Use image node_id 1 for calling the COCOMaskParser obj's underlying member method code with example usage: obj.masks(o) and returns: list, list