code: def lazy_tokenizer(batch):
      """Tokenizes if there is something to tokenize."""
  
      if len(batch) > 0 and isinstance(batch[0], str):
          batch = [word_tokenize(utt) for utt in batch]
      return batch
  
imports: from logging import getLogger
  from nltk import word_tokenize
  from deeppavlov.core.common.registry import register
label_desc: Use image node_id 1 for calling a global function with example usage: lazy_tokenizer(batch) and returns: batch