class CidrValidatorHelper {

    public static boolean isCidrPatternMatched(String value) {
        if (StringUtils.isEmpty(value)) {
            return false;
        }
        Pattern pattern = Pattern.compile(CIDR_REGEX);
        Matcher matcher = pattern.matcher(value);
        if (!matcher.find()) {
            return false;
        }
        return true;
    }

    private  CidrValidatorHelper();

}