code: func IsNoRoutesError(err error) bool {
  	if err == nil {
  		return false
  	}
  	switch err.(type) {
  	case noRoutesError:
  		return true
  	default:
  		return false
  	}
  }
docs: // IsNoRoutesError checks if an error is of type noRoutesError