public boolean isRiskGreaterThan(final double threshold) {
        return score.compareTo(BigDecimal.valueOf(threshold)) > 0;
    }
Is risk greater than the given threshold?

@param threshold the threshold
@return true/false
support/cas-server-support-electrofence/src/main/java/org/apereo/cas/api/AuthenticationRiskScore.java