def METHOD_NAME(
    self,
    url: Optional[List[str]] = None,
    depth: int = -1,
    expanded: bool = False,
    formatted: bool = True,
    get_node: bool = False,
) -> Union[Union[str, G], INode[G, S, V]]:
    self._assert_url_end(url)
    if get_node:
        return self
    if self.get_link_path().exists():
        link = self.get_link_path().read_text()
        if expanded:
            return link
        else:
            return cast(G, self.context.resolver.resolve(link, formatted))
    if expanded:
        return self.get_lazy_content()
    else:
        return self.load(url, depth, expanded, formatted)