code: def search(self, word):
      current = self.root
      for letter in word:
          current = current.children.get(letter)
          if current is None:
              return False
      return current.is_word
  
file_path: keon-algos/algorithms/tree/trie/trie.py
imports: import collections
label_desc: Use image node_id 3 for calling the Trie obj's underlying member method code with example usage: obj.search(word) and returns: current, False