def METHOD_NAME(self, obj: ADCMEntity) -> Node:
    """Get tree node by its object"""
    key = Node.get_obj_key(obj)
    cached = self._nodes.get(key)
    if cached:
        return cached
    else:
        raise HierarchyError(f"Object {key} is not part of tree")