code: def check_trace_level(base_level):
      level = trace_level(current_trace())
      if level != base_level:
          raise errors.JaxTransformError()
  
imports: import jax
  from ..None import errors
label_desc: Use image node_id 3 for calling a global function with example usage: check_trace_level(base_level) without return types