class StackVersionMatcher {

    public boolean isMatchingStackVersion(Image image, Map<String, String> activatedParcels) {
        String stackVersion = activatedParcels.get(StackType.CDH.name());
        return StringUtils.isEmpty(stackVersion) || isStackVersionEquals(image, stackVersion);
    }

}