code: def getBranch(self, name, **context):
          
          for keyLen in self._vars.getKeysLens():
              subName = name[:keyLen]
              if subName in self._vars:
                  return self._vars[subName]
  
          raise error.NoSuchObjectError(name=name, idx=context.get('idx'))
docs: Return a branch of this tree where the 'name' OID may reside