code: def _to_cmd_arg(key: str, value: Any) -> str:
      """Converts key value pair to "--key=value"."""
      if isinstance(value, bool):
          return f"--{key}" if value else f"--no{key}"
      return f"--{key}={value}"
  
file_path: launchpad/launchpad/nodes/python/local_multi_processing.py
imports: import atexit
  import dataclasses
  import json
  import os
  import shutil
  import sys
  import tempfile
  from typing import Any, List, Mapping, Optional, Sequence, Union
  from absl import flags
  from absl import logging
  from launchpad import flags
  from launchpad.launch import serialization
  from launchpad.launch.local_multi_processing import commands
  import portpicker
label_desc: Use image node_id 1 for calling a global function with example usage: _to_cmd_arg(key, value) and returns: str, key, str, value, unknown