code: def _extract_token_after(
      tokens: List[str], before_token: str
  ) -> Optional[str]:
      for i, tok in enumerate(tokens):
          if i > 0 and tokens[i - 1] == before_token:
              return tok
  
imports: import os
  import sys
  from opentelemetry.sdk.trace import TracerProvider
  from opentelemetry.sdk.trace.export import BatchSpanProcessor
  from opentelemetry.propagate import set_global_textmap
  from opentelemetry.sdk.resources import SERVICE_NAME, Resource
  from opentelemetry.trace.span import format_trace_id
  from opentelemetry.propagate import extract, inject
  from functools import wraps
  import contextlib
  from typing import Dict, List, Optional
  from opentelemetry import trace, context
  from .span_exporter import get_span_exporter
label_desc: Use image node_id 3 for calling a global function with example usage: _extract_token_after(tokens, before_token) and returns: tok