code: def k2_cuda_is_enabled(k2_is_appropriate) -> Tuple[bool, str]:
      if not k2_is_appropriate[0]:
          return k2_is_appropriate
  
      import torch  # noqa: E402
      from nemo.core.utils.k2_guard import k2  # noqa: E402
  
      if torch.cuda.is_available() and k2.with_cuda:
          return True, "k2 supports CUDA."
      elif torch.cuda.is_available():
          return (
              False,
              "k2 does not support CUDA. Consider using a k2 build with CUDA support.",
          )
      else:
          return False, "k2 needs CUDA to be available in torch."
  
imports: import logging
  import os.path
  import shutil
  import tarfile
  import tempfile
  import urllib.request
  from os import mkdir
  from os.path import dirname, exists, getsize, join
  from pathlib import Path
  from shutil import rmtree
  from typing import Tuple
  import pytest
  from tests.fixtures.tts import *
label_desc: Use image node_id 10 for calling a global function with example usage: k2_cuda_is_enabled(k2_is_appropriate) and returns: k2_is_appropriate, True,  str, False,  str, False,  str