def METHOD_NAME(
    self,
    path: Union[AimObjectKey, AimObjectPath],
    resolve: bool = False
):
    if isinstance(path, (int, str)):
        path = (path,)
    assert path
    container = self.container
    for key in path:
        container = container[key]
    if isinstance(container, CustomObjectBase):
        return container
    return InMemoryTreeView(container)