class_docstr: Helper class for aggregating and building `Vocabulary` objects.
class_docstr_tok: ["Helper","class","for","aggregating","and","building","`","Vocabulary","`","objects","."]
code: def has_added_tokens(self):
      return bool(self._counter)
  
imports: import itertools
  from collections import Counter
  from typing import Dict, List, Optional, Tuple
  import torch
  from pytext.common.constants import SpecialTokens, Token
  from pytext.utils import cuda, precision
label_desc: Use image node_id 5 for calling the VocabBuilder obj's underlying member method code with example usage: obj.has_added_tokens() and returns: bool