code: func (c *LayerTree) CompositingReasons(layerId string) ([]string, error) {
  	var v LayerTreeCompositingReasonsParams
  	v.LayerId = layerId
  	return c.CompositingReasonsWithParams(&v)
  }
docs: // CompositingReasons - Provides the reasons why the given layer was composited.
  // layerId - The id of the layer for which we want to get the reasons it was composited.
  // Returns -  compositingReasons - A list of strings specifying reasons for the given layer to become composited.