code: def mongostat():
      """Return stat row of mongostat in a dict."""
      out = subprocess.run(
          "mongostat --rowcount=1".split(" "),
          stdout=subprocess.PIPE,
          check=True,
      )
      header, row = out.stdout.decode("utf-8").split("\n")[:2]
      return dict(zip(header.split(), row.split()))
  
imports: import argparse
  import contextlib
  import multiprocessing
  import subprocess
  import sys
  import time
  from collections import defaultdict, namedtuple
  import bson
  import numpy
  from ptera import probing
  from orion.client import build_experiment
  from orion.client.runner import Runner
  from orion.core.io.database.pickleddb import PickledDB
  from orion.testing import OrionState
label_desc: Use image node_id 3 for calling a global function with example usage: mongostat() and returns: dict