code: def run_for_all_callbacks(self, *args, method_name: str, **kwargs):
      if self._callbacks:
          for cb in self._callbacks:
              getattr(cb, method_name)(*args, **kwargs)
  
imports: from contextlib import contextmanager
  from typing import Any, List, Sequence
  from pytorch_lightning.callbacks import Callback
  from torch import Tensor
  import flash
  from flash.core.data.utils import _STAGES_PREFIX
  from flash.core.utilities.stages import RunningStage
label_desc: Use image node_id 2 for calling the ControlFlow obj's underlying member method code with example usage: obj.run_for_all_callbacks() without return types