private static boolean equalNodes(Object a, Object b) {
        if (a instanceof Node && b instanceof Node) {
            Node l = (Node) a;
            Node r = (Node) b;
            return l.componentId.equals(r.componentId);
        } else {
            return a.equals(b);
        }
    }
Returns the component represented by this - which is either the instance, or if the instance is a provider,
the component returned by it.
container-core/src/main/java/com/yahoo/container/di/componentgraph/core/Node.java