docs: private void determineIsLocal() {
          // Loop through each channel in the outbound chain represented by this
          // endpoint
          int i = 0;
          for (OutboundChannelDefinition def : this.outboundChannelDefs) {
              if (LocalChannelFactory.class.isAssignableFrom(def.getOutboundFactory())) {
                  // Found Local channel factory.
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                      Tr.debug(tc, "Found LocalChannelFactory interface: " + def.getOutboundFactory());
                  }
                  this.localChannelIndex = i;
                  break;
              }
              i++;
          }
      }