code: def stroke_opacity(value):
          
          if value.value:
              _assert_is_type('stroke_opacity.value', value.value,
                              (float, int))
              if value.value < 0 or value.value > 1:
                  raise ValueError(
                      'stroke_opacity must be between 0 and 1')
docs: ValueRef : number, opacity of the stroke (0 to 1)