code: func (p *passthrough) checkDetectionMechanisms(ctx context.Context, e string) bool {
  	if p.detectionmechanisms == nil {
  		return false
  	}
  
  	for _, rgx := range p.detectionmechanisms {
  		if rgx.MatchString(e) {
  			return true
  		}
  	}
  	return false
  }
docs: // checkDetectionMechanisms compare the url to the detection mechanisms regex