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: 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.adagrad import DeepSpeedCPUAdagrad
  from deepspeed.ops.adam import FusedAdam
  from deepspeed.ops.lion import DeepSpeedCPULion, FusedLion
  from deepspeed.utils.nvtx import instrument_w_nvtx
  from deepspeed.accelerator import get_accelerator
label_desc: Use image node_id 2 for calling a global function with example usage: is_zero_supported_optimizer(optimizer) and returns: unknown