code: def lower_folded_coerce_types_into_filter_blocks(folded_ir_blocks):
      
      new_folded_ir_blocks = []
      for block in folded_ir_blocks:
          if isinstance(block, CoerceType):
              new_block = convert_coerce_type_to_instanceof_filter(block)
          else:
              new_block = block
  
          new_folded_ir_blocks.append(new_block)
  
      return new_folded_ir_blocks
docs: Lower CoerceType blocks into "INSTANCEOF" Filter blocks. Indended for folded IR blocks.