in toolkit/log/span.go [98:100]
func (s *otelSpan) IsValid() bool { return s != nil && s.span != nil && s.span.SpanContext().IsValid() }