code: def chat_interruption(message):
      for k in ("requested_finish", "MEPHISTO_is_submit"):
          if k in message and message[k]:
              return True
      return False
  
imports: from typing import Dict, Union
  import parlai.utils.logging
  from parlai.crowdsourcing.projects.wizard_of_internet.wizard_internet_blueprint import WIZARD_INTERNET_PARLAICHAT_BLUEPRINT
  from parlai.crowdsourcing.utils.analysis import AbstractResultsCompiler
  from mephisto.abstractions.blueprint import AgentState
label_desc: Use image node_id 4 for calling a global function with example usage: chat_interruption(message) and returns: False, True