Knowing If Node Group Socket Linked or Not

When we create a Node Group, we can check if any socket linked or not (without Python). Maybe will a node add in Blender and this node will create an output (0 = Non-Linked, 1 = Linked).