class NoOpQuotaService implements QuotaService, Condition {

    @Override
    public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata) {
        final String property = context.getEnvironment().getProperty("dataset.quota.check.enabled");
        return !StringUtils.equals("true", property);
    }

}