code: def insert(self, word):
      current = self.root
      for letter in word:
          current = current.children[letter]
      current.is_word = True
  
file_path: keon-algos/algorithms/tree/trie/trie.py
imports: import collections
label_desc: Use image node_id 2 for calling the Trie obj's underlying member method code with example usage: obj.insert(word) without return types