canvas-api/src/main/java/com/instructure/canvasapi/model/RubricCriterion.java
/**
     *  Freeform rubric comments in canvas may contain RubricCriterionRatings not included in the assignment rubric.
     *  @return true if the rubric assessment contains a rating for the provided rubric criterion
     */
Freeform rubric comments in canvas may contain RubricCriterionRatings not included in the assignment rubric.
@return true if the rubric assessment contains a rating for the provided rubric criterion
Freeform rubric comments in canvas may contain RubricCriterionRatings not included in the assignment rubric . @return true if the rubric assessment contains a rating for the provided rubric criterion
public  boolean containsRubricCriterionRating(String ratingId, List<RubricCriterionRating> criterionRatings){
        for(RubricCriterionRating rating : criterionRatings){
            if(rating.getId().equals(ratingId)){
                return true;
            }
        }
        return false;
    }
public boolean containsRubricCriterionRating ( String ratingId , List < RubricCriterionRating > criterionRatings ) { for ( RubricCriterionRating rating : criterionRatings ) { if ( rating . getId ( ) . equals ( ratingId ) ) { return true ; } } return false ; }
Freeform rubric comments in canvas may contain RubricCriterionRatings not included in the assignment rubric.
Freeform rubric comments in canvas may contain RubricCriterionRatings not included in the assignment rubric .