class_docstr: Base class for a person on a chat serivce that can act in a ParlAI world.
class_docstr_tok: ["Base","class","for","a","person","on","a","chat","serivce","that","can","act","in","a","ParlAI","world","."]
docstr: Get a new act message if one exists, return None otherwise.
docstr_tok: ["Get","a","new","act","message","if","one","exists",",","return","None","otherwise","."]
code: def get_new_act_message(self):
      """
      Get a new act message if one exists, return None otherwise.
      """
      if not self.msg_queue.empty():
          return self.msg_queue.get()
      return None
  
file_path: ParlAI/parlai/chat_service/core/agents.py
imports: import time
  from abc import ABC, abstractmethod
  from queue import Queue
  from parlai.core.agents import Agent
label_desc: Use image node_id 9 for calling the ChatServiceAgent obj's underlying member method code with example usage: obj.get_new_act_message() and returns: None, self