public void fromDataPre_GEODE_1_14_0_0(DataInput in,
        DeserializationContext context) throws IOException, ClassNotFoundException {
      super.fromData(in, context);
      Id = DataSerializer.readString(in);
      startTime = in.readLong();
      remoteDSId = in.readInt();
      isRunning = in.readBoolean();
      isPrimary = in.readBoolean();
      isParallel = in.readBoolean();
      isBatchConflationEnabled = in.readBoolean();
      isPersistenceEnabled = in.readBoolean();
      alertThreshold = in.readInt();
      manualStart = in.readBoolean();
      eventFiltersClassNames = DataSerializer.readArrayList(in);
      transFiltersClassNames = DataSerializer.readArrayList(in);
      senderEventListenerClassNames = DataSerializer.readArrayList(in);
      isDiskSynchronous = in.readBoolean();
      dispatcherThreads = in.readInt();
      if (StaticSerialization.getVersionForDataStream(in).isOlderThan(KnownVersion.GFE_90)) {
        Gateway.OrderPolicy oldOrderPolicy = DataSerializer.readObject(in);
        if (oldOrderPolicy != null) {
          if (oldOrderPolicy.name().equals(OrderPolicy.KEY.name())) {
            orderPolicy = OrderPolicy.KEY;
          } else if (oldOrderPolicy.name().equals(OrderPolicy.THREAD.name())) {
            orderPolicy = OrderPolicy.THREAD;
          } else {
            orderPolicy = OrderPolicy.PARTITION;
          }
        } else {
          orderPolicy = null;
        }
      } else {
        orderPolicy = DataSerializer.readObject(in);
      }
      boolean serverLocationFound = DataSerializer.readPrimitiveBoolean(in);
      if (serverLocationFound) {
        serverLocation = new ServerLocation();
        InternalDataSerializer.invokeFromData(serverLocation, in);
      }
    }
I need this boolean to make sure the sender which is volunteer for primary is running. not
running sender should not become primary.
geode-core/src/main/java/org/apache/geode/internal/cache/wan/GatewaySenderAdvisor.java