def with_prefix(self, path):
        ret = []
        for key in self.tree.keys():
            if path.startswith(key):
                ret.append(key)

        if len(ret) > 0:
            return ret
        raise KeyError
dataset/ETHPy150Open Tanganelli/CoAPthon/coapthon/utils.py/Tree.with_prefix/original