code: def time_mask_check(x, x_len, t_start, t_len, mask_value, bidx):
      check_result = True
      for tidx in range(t_start, t_start + t_len):
          if tidx >= x_len[bidx]:
              # this sample has smaller length than the time index of mask, ignore
              continue
  
          if not (x[bidx, :, tidx] == mask_value).all():
              check_result = False
              break
      assert check_result
  
file_path: NeMo/tests/collections/asr/numba/spec_augment/test_spec_aug_numba.py
imports: import pytest
  import torch
  from omegaconf import OmegaConf
  from nemo.collections.asr.parts.numba.spec_augment import spec_aug_numba
  from nemo.core.utils import numba_utils
  from nemo.core.utils.numba_utils import __NUMBA_MINIMUM_VERSION__
label_desc: Use image node_id 5 for calling a global function with example usage: time_mask_check(x, x_len, t_start, t_len, mask_value, bidx) without return types