boolean shouldContinue() {
      return !getInflightGroups().isEmpty();
    }
@return returns true if there are any remote replica groups getting tracked, false otherwise
ambry-replication/src/main/java/com/github/ambry/replication/ReplicaThread.java