def METHOD_NAME(roi):
    """Check for orangeness."""
    b1 = 163
    g1 = 145
    r1 = 223
    b2 = 251
    g2 = 240
    r2 = 255
    lower_value = np.array([b1, g1, r1], np.uint8)
    upper_value = np.array([b2, g2, r2], np.uint8)
    temp = np.array(0)
    mask = cv2.inRange(roi, lower_value, upper_value)
    bimg = cv2.bitwise_or(mask, temp)
    orangeness = bimg.mean()
    return orangeness