code: def _assert_valid_backend_name(name):
      for backend_ in Backend:
          if backend_.value == name:
              return
      raise ValueError(f"No backend with name {name}")
  
imports: import contextlib
  import enum
  import gin
  from trax.fastmath.jax import JAX_BACKEND
  from trax.fastmath.numpy import NUMPY_BACKEND
  from trax.fastmath.tf import TF_BACKEND
label_desc: Use image node_id 40 for calling a global function with example usage: _assert_valid_backend_name(name) without return types