class DuplicatedTrackers implements Warning {

    @Override
    public boolean active() {
        int count = 0;
        Set<Integer> ids = new HashSet<>();

        for (SegmentStatus info : trackerInfos) {
            ids.add(info.getSegmentId());
            count++;
        }

        return count != ids.size();
    }

    public  DuplicatedTrackers(Iterable<SegmentStatus> trackerInfos);

}