code: def stop_all_works(self, works) -> None:
      if works:
          backend = self._get_backend(works[0])
          backend.stop_all_works(works)
  
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 5 for calling the CloudHybridBackend obj's underlying member method code with example usage: obj.stop_all_works(works) without return types