code: def create_standalone_arbiter(
      watchers: list[Watcher], **kwargs: t.Any
  ) -> Arbiter:
      from circus.arbiter import Arbiter
  
      from .. import reserve_free_port
  
      with reserve_free_port() as endpoint_port:
          with reserve_free_port() as pubsub_port:
              return Arbiter(
                  watchers,
                  endpoint=f"tcp://127.0.0.1:{endpoint_port}",
                  pubsub_endpoint=f"tcp://127.0.0.1:{pubsub_port}",
                  # XXX: Currently ,the default check_delay will always raise ConflictError. This probably has to do with
                  # the runners server is not ready in time when the controller run healthcheck.
                  check_delay=kwargs.pop("check_delay", 10),
                  **kwargs,
              )
  
imports: from __future__ import annotations
  import typing
  from typing import TYPE_CHECKING
  from urllib.parse import urlparse
label_desc: Use image node_id 2 for calling a global function with example usage: create_standalone_arbiter(watchers) and returns: Arbiter