is there any way to know from a group node, if there are links connecting to external nodes/groups, when the connecting link is not from the group itself, but one of its contained items?

You’ll need to recurse through the group’s member nodes to see if there are any connected links that don’t have both ends contained by the original group.