Graph is linked end to end

Is there any way to get the information that the graph is fully linked with all its nodes or not.

for example in this graph all nodes are linked with some edges

so is there any method to know that is graph is fully linked or not

myDiagram.nodes.all(function(n) { return n.linksConnected.count > 0; })