code: def get(self, value, default=None):
          
          path = value if isinstance(value, Path) else Path(str(value))
          subtree = self
          for part in path.parts:
              try:
                  subtree = subtree[part]
              except KeyError:
                  return default
          return subtree
docs: Return a subtree if exists.