class_docstr: Launch agent class which polls run given run queues and launches runs for wandb launch.
docstr: Return whether the agent is initialized.
docstr_tok: ["Return","whether","the","agent","is","initialized","."]
code: def initialized(cls) -> bool:
      """Return whether the agent is initialized."""
      return cls._instance is not None
  
imports: import asyncio
  import logging
  import os
  import pprint
  import threading
  import time
  import traceback
  from dataclasses import dataclass
  from multiprocessing import Event
  from typing import Any, Dict, List, Optional, Union
  import wandb
  from wandb.apis.internal import Api
  from wandb.errors import CommError
  from wandb.sdk.launch._launch_add import launch_add
  from wandb.sdk.launch.runner.local_container import LocalSubmittedRun
  from wandb.sdk.launch.runner.local_process import LocalProcessRunner
  from wandb.sdk.launch.sweeps.scheduler import Scheduler
  from wandb.sdk.lib import runid
  from ..None import loader
  from .._project_spec import LaunchProject, create_project_from_spec, fetch_and_validate_project
  from ..builder.build import construct_agent_configs
  from ..errors import LaunchDockerError, LaunchError
  from ..utils import LAUNCH_DEFAULT_PROJECT, LOG_PREFIX, PROJECT_SYNCHRONOUS, event_loop_thread_exec
  from .job_status_tracker import JobAndRunStatusTracker
  from .run_queue_item_file_saver import RunQueueItemFileSaver
label_desc: Use image node_id 3 for calling the LaunchAgent obj's underlying member method code with example usage: obj.initialized(cls) and returns: unknown