code: def _validate_aug_toks(aug_toks):
      if not (
          isinstance(aug_toks, list)
          and isinstance(aug_toks[0], types.AugTok)
      ):
          raise TypeError(
              errors.type_invalid_msg(
                  "aug_toks", type(aug_toks), list[types.AugTok]
              )
          )
  
file_path: textacy/src/textacy/augmentation/transforms.py
imports: from __future__ import annotations
  import random
  from typing import Optional
  from cytoolz import itertoolz
  from ..None import errors, types, utils
  from .None import utils
label_desc: Use image node_id 9 for calling a global function with example usage: _validate_aug_toks(aug_toks) without return types