code: def _simple_get_doc_char_pos(
      doc: DocProto[T_Token, T_Ent], i: int
  ) -> Optional[T_Token]:
      for token in doc:
          if token.start_char <= i < token.end_char:
              return token
      return None
  
file_path: camphr/packages/camphr/tests/test_utils.py
imports: from hypothesis.strategies._internal.strategies import SearchStrategy
  from camphr.doc import Doc, DocProto, T_Ent, T_Span, T_Token
  from camphr.utils import token_from_char_pos
  from typing import Callable, List, Optional, Tuple, TypeVar
  import pytest
  from hypothesis import given
  from hypothesis import strategies
label_desc: Use image node_id 2 for calling a global function with example usage: _simple_get_doc_char_pos(doc, i) and returns: None, token