code: func (i *Image) dependsOn(target *Image) bool {
  	for _, c := range i.drawTrianglesHistory {
  		if c.image == target {
  			return true
  		}
  	}
  	return false
  }
docs: // dependsOn returns a boolean value indicating whether the image depends on target.