code: def has_nvfuser_instance_norm():
      """whether the current environment has InstanceNorm3dNVFuser
      https://github.com/NVIDIA/apex/blob/23.05-devel/apex/normalization/instance_norm.py#L15-L16
      """
      global _has_nvfuser
      if _has_nvfuser is not None:
          return _has_nvfuser
  
      _, _has_nvfuser = optional_import(
          "apex.normalization", name="InstanceNorm3dNVFuser"
      )
      if not _has_nvfuser:
          return False
      try:
          import importlib
  
          importlib.import_module("instance_norm_nvfuser_cuda")
      except ImportError:
          _has_nvfuser = False
      return _has_nvfuser
  
imports: from __future__ import annotations
  import io
  import re
  import warnings
  from collections import OrderedDict
  from collections.abc import Callable, Mapping, Sequence
  from contextlib import contextmanager
  from copy import deepcopy
  from typing import Any
  import numpy
  import torch
  import torch.nn
  from monai.apps.utils import get_logger
  from monai.config import PathLike
  from monai.utils.misc import ensure_tuple, save_obj, set_determinism
  from monai.utils.module import look_up_option, optional_import, pytorch_after
  from monai.utils.type_conversion import convert_to_dst_type, convert_to_tensor
label_desc: Use image node_id 1 for calling a global function with example usage: has_nvfuser_instance_norm() and returns: _has_nvfuser, _has_nvfuser, False