@Override
    public boolean equals(Object other) {
        if (other instanceof ComponentRegistryNode that) {
            return this.componentId().equals(that.componentId()) && this.instanceType().equals(that.instanceType())
                    && equalNodeEdges(this.usedComponents(), that.usedComponents());
        } else {
            return false;
        }
    }
@author Tony Vaagenes
@author gjoranv
@author ollivir
container-core/src/main/java/com/yahoo/container/di/componentgraph/core/ComponentRegistryNode.java