static InSyncState fromInSync(final boolean inSync) {
      return inSync ? IN_SYNC : OUT_OF_SYNC;
    }
Tracks the sync status of this node within the specified {@code syncTolerance}.
ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/state/InSyncTracker.java