code: def is_zero_supported_optimizer(optimizer):
      if dist.get_rank() == 0:
          logger.info(
              f"Checking ZeRO support for optimizer={optimizer.__class__.__name__} type={type(optimizer)}"
          )
      return type(optimizer) in ZERO_SUPPORTED_OPTIMIZERS
  
file_path: H2O/h2o_flexgen/benchmark/third_party/DeepSpeed/deepspeed/runtime/zero/utils.py
imports: import os
  from typing import List
  import torch
  from deepspeed import comm
  from deepspeed.utils import logger
  from deepspeed.ops.adam import DeepSpeedCPUAdam
  from deepspeed.ops.adam import FusedAdam
  from deepspeed.utils.nvtx import instrument_w_nvtx
label_desc: Use image node_id 2 for calling a global function with example usage: is_zero_supported_optimizer(optimizer) and returns: unknown