// IsParentedToXray detects whether the parent of a trace is an X-Ray span
IsParentedToXray detects whether the parent of a trace is an X-Ray span
// IsParentedToXray detects whether the parent of a trace is an X - Ray span
func IsParentedToXray(span *pb.Span) bool {
	if span.Meta == nil {
		return false
	}
	source := span.Meta[parentSourceMetadataKey]
	return source == sourceXray
}
func IsParentedToXray ( span * pb . Span ) bool { if span . Meta == nil { return false } source := span . Meta [ parentSourceMetadataKey ] return source == sourceXray }
IsParentedToXray detects whether the parent of a trace is an X-Ray span
IsParentedToXray detects whether the parent of a trace is an X - Ray span