code: def _dev_is_available(base_dev):
      try:
          jax.devices(base_dev)
          return True
      except RuntimeError:
          return False
  
imports: import os
  import jax
  from typing import Union, Optional
  import jaxlib.xla_extension
  import ivy
  from ivy.functional.backends.jax import JaxArray
  from ivy.functional.ivy.device import _shift_native_arrays_on_default_device, Profiler
label_desc: Use image node_id 9 for calling a global function with example usage: _dev_is_available(base_dev) and returns: True, False