class_docstr: This is the training version of the dataset.
class_docstr_tok: ["This","is","the","training","version","of","the","dataset","."]
code: def has_mwt(self):
      # presumably this only needs to be called either 0 or 1 times,
      # 1 when training and 0 any other time, so no effort is put
      # into caching the result
      for sentence in self.data:
          for word in sentence:
              if word[1] > 2:
                  return True
      return False
  
imports: from bisect import bisect_right
  from copy import copy
  import numpy
  import random
  import logging
  import re
  import torch
  from torch.utils.data import Dataset
  from .vocab import Vocab
  from stanza.models.common.utils import sort_with_indices, unsort
label_desc: Use image node_id 5 for calling the DataLoader obj's underlying member method code with example usage: obj.has_mwt() and returns: False, True