code: def generate_world(opt, agents):
      return OnboardWorld(opt, agents[0])
  
file_path: ParlAI/parlai/chat_service/services/messenger/worlds.py
imports: from parlai.core.worlds import World
label_desc: Use image node_id 2 for calling the OnboardWorld obj's underlying member method code with example usage: obj.generate_world(opt, agents) and returns: OnboardWorld