public static boolean equalEdges(List<?> edges1, List<?> edges2) {
        Iterator<?> right = edges2.iterator();
        for (Object l : edges1) {
            if (!right.hasNext()) {
                return false;
            }
            Object r = right.next();
            if (!equalNodes(l, r)) {
                return false;
            }
        }
        return !right.hasNext();
    }
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