code: def has_final_rating(self, act):
      return act.get("task_data", {}).get("final_rating") is not None
  
imports: import json
  import os
  import numpy
  import random
  import time
  from parlai.core.message import Message
  from parlai.core.worlds import validate
  import parlai.utils.logging
  from parlai.crowdsourcing.tasks.model_chat.utils import Compatibility
  from parlai.crowdsourcing.tasks.model_chat.worlds import get_bot_worker, ModelChatWorld, ModelChatOnboardWorld
label_desc: Use image node_id 3 for calling the MultipartyChatWorld obj's underlying member method code with example usage: obj.has_final_rating(act) and returns: unknown