code: def filter_by_continue_type(chats, continue_type):
      desired_continue_status = continue_type == "continue"
      return [
          c
          for c in chats
          if c["did_continue"] == desired_continue_status
      ]
  
imports: import random
  import io
  import os
  import json
  from parlai.utils.misc import msg_to_str
label_desc: Use image node_id 22 for calling a global function with example usage: filter_by_continue_type(chats, continue_type) and returns: unknown