docs: public static boolean inSubNetwork(RightInputAdapterNode riaNode, LeftTupleSource leftTupleSource) {
          LeftTupleSource startTupleSource = riaNode.getStartTupleSource();
          LeftTupleSource parent = riaNode.getLeftTupleSource();
  
          while (parent != startTupleSource) {
              if (parent == leftTupleSource) {
                  return true;
              }
              parent = parent.getLeftTupleSource();
          }
  
          return false;
      }