class SeriesRegistry implements Serializable {

    public boolean contains(SeriesType series, Class<? extends FormatterType> formatterClass) {
        for(BundleType b : registry) {
            if(b.getFormatter().getClass() == formatterClass && b.getSeries() == series) {
                return true;
            }
        }
        return false;
    }

}