def METHOD_NAME(self, prefix):
    """
    Returns if there is any word in the trie that starts with the given prefix.
    :type prefix: str
    :rtype: bool
    """
    node = self.root
    for chars in prefix:
        node = node.data.get(chars)
        if not node:
            return False
    return True