code: def parse_virtualbox_devices():
      output = subprocess.check_output(
          ["VBoxManage", "list", "usbhost"], encoding="utf-8"
      )
      devices = []
      current_dev = {}
      for line in output.split("\n"):
          if not line.strip():
              if current_dev:
                  if (
                      "VendorId" in current_dev
                      and "ProductId" in current_dev
                  ):
                      devices.append(current_dev)
                  current_dev = {}
  
              continue
  
          key, value = line.split(":", 1)
          value = value.lstrip(" ")
          current_dev[key] = value
  
      if current_dev:
          devices.append(current_dev)
      return devices
  
imports: import argparse
  import copy
  import json
  import logging
  import pathlib
  import os
  import re
  import shlex
  import shutil
  import subprocess
  import sys
  import pathlib
label_desc: Use image node_id 1 for calling a global function with example usage: parse_virtualbox_devices() and returns: devices