code: def stop_work(self, app, work) -> None:
      backend = self._get_backend(work)
      if isinstance(backend, MultiProcessingBackend):
          self._prepare_work_stop(app, work)
      backend.stop_work(app, work)
  
imports: import os
  from typing import Optional
  from lightning_cloud.openapi import AppinstancesIdBody, Externalv1LightningappInstance
  from lightning.app.core import constants
  from lightning.app.core.queues import QueuingSystem
  from lightning.app.launcher.lightning_backend import CloudBackend
  from lightning.app.runners.backends.backend import Backend
  from lightning.app.runners.backends.mp_process import MultiProcessingBackend
  from lightning.app.utilities.network import LightningClient
label_desc: Use image node_id 8 for calling the CloudHybridBackend obj's underlying member method code with example usage: obj.stop_work(app, work) without return types