code: def check_char_timestamps(hyp: Hypothesis, decoding: CTCDecoding):
      assert hyp.timestep is not None
      assert isinstance(hyp.timestep, dict)
      assert "timestep" in hyp.timestep
      assert "char" in hyp.timestep
      assert "word" in hyp.timestep
  
      words = hyp.text.split(decoding.word_seperator)
      words = list(filter(lambda x: x != "", words))
      assert len(hyp.timestep["word"]) == len(words)
  
file_path: NeMo/tests/collections/asr/decoding/test_ctc_decoding.py
imports: import os
  from functools import lru_cache
  import pytest
  import torch
  from omegaconf import DictConfig, OmegaConf
  from nemo.collections.asr.parts.mixins import mixins
  from nemo.collections.asr.parts.submodules.ctc_decoding import CTCBPEDecoding, CTCBPEDecodingConfig, CTCDecoding, CTCDecodingConfig
  from nemo.collections.asr.parts.utils.rnnt_utils import Hypothesis
label_desc: Use image node_id 3 for calling a global function with example usage: check_char_timestamps(hyp, decoding) without return types