code: def terminate(self):
      if self.is_active:
          self.sidecar_process.kill()
  
file_path: metaflow/metaflow/sidecar/sidecar.py
imports: from .sidecar_subprocess import SidecarSubProcess
label_desc: Use image node_id 4 for calling the Sidecar obj's underlying member method code with example usage: obj.terminate() without return types