code: @RestrictTo(LIBRARY_GROUP)
      public boolean isRoundRect() {
          boolean hasDefaultEdges =
                  leftEdge.getClass().equals(EdgeTreatment.class)
                          && rightEdge.getClass().equals(EdgeTreatment.class)
                          && topEdge.getClass().equals(EdgeTreatment.class)
                          && bottomEdge.getClass().equals(EdgeTreatment.class);
  
          float cornerSize = topLeftCorner.getCornerSize();
  
          boolean cornersHaveSameSize =
                  topRightCorner.getCornerSize() == cornerSize
                          && bottomLeftCorner.getCornerSize() == cornerSize
                          && bottomRightCorner.getCornerSize() == cornerSize;
  
          boolean hasRoundedCorners =
                  topRightCorner instanceof RoundedCornerTreatment
                          && topLeftCorner instanceof RoundedCornerTreatment
                          && bottomRightCorner instanceof RoundedCornerTreatment
                          && bottomLeftCorner instanceof RoundedCornerTreatment;
  
          return hasDefaultEdges && cornersHaveSameSize && hasRoundedCorners;
      }
docs: Checks Corner and Edge treatments to see if we can use {@link Canvas#drawRoundRect(RectF, float,
  float, Paint)} "} to draw this model.
  
  @hide