public boolean isInFlight() {
    return remoteReplicaGroup != null;
  }
If remoteReplicaGroup is null, only then we consider group is not getting tracked
@return returns true if group is getting tracked, false otherwise
ambry-replication/src/main/java/com/github/ambry/replication/continuous/GroupTracker.java