class_docstr: A wrapper for multiprocessing.Process that supports exception handling and return objects.
code: def _poll(self):
      if self._pconn.poll():
          result = self._pconn.recv()
          if isinstance(result, Exception):
              self._exception = result
          else:
              self._result = result
  
file_path: maze/maze/utils/process.py
imports: import multiprocessing
  from typing import Optional, Any
  from maze.utils.log_stats_utils import clear_global_state
  import os
  import re
  import subprocess
label_desc: Use image node_id 3 for calling the Process obj's underlying member method code with example usage: obj._poll() without return types