Gets the item for `path`. If `strict` is true, this method
        returns `None` when matching path is not found.
        Otherwise, this returns the result item of prefix searching.

        :param path: Path to get
        :param strict: Searching mode
        :type path: list
        :type strict: bool

def get(self, path, strict):
        """ Gets the item for `path`. If `strict` is true, this method
        returns `None` when matching path is not found.
        Otherwise, this returns the result item of prefix searching.

        :param path: Path to get
        :param strict: Searching mode
        :type path: list
        :type strict: bool
        """
        item, pathinfo = self._get(path, strict)

        if item is None:
            if strict:
                return None, pathinfo

            else:
                return self._item, pathinfo

        else:
            return item, pathinfo