code: def wait_for_subprocess_by_name(name, **kwargs):
      return wait_for_subprocess(lambda p: p.name() == name, **kwargs)
  
imports: from contextlib import contextmanager
  import os
  import sys
  import time
  import unittest
  import psutil
  import requests
  import retrying
  import fiftyone
  import fiftyone.constants
  import fiftyone.core.service
  import fiftyone.service.util
label_desc: Use image node_id 4 for calling a global function with example usage: wait_for_subprocess_by_name(name) and returns: wait_for_subprocess