FDynamicGraph::CheckValidity

This function checks that the graph is well-formed, ie all internal data structures are consistent