In the IsConnected documentation, it says
If a true node is passed, every port on the node will be tested.
I tried passing connected true node but it returns false, instead of true.
with graph.BeginTransaction() as transaction: result =  GraphModelHelper.GetSelectedNodes(graph, maxon.NODE_KIND.ALL_MASK, result) print (result.GetKind()) # Returns #1 hence a true node debug = GraphModelHelper.IsConnected(result, result) print (debug) # Returns false. Should be True since the node is actually connected transaction.Commit()