code: func (c *CredentialsStore) CheckRequest(b BasicAuther) bool {
  	username, password, ok := b.BasicAuth()
  	if !ok || !c.Check(username, password) {
  		return false
  	}
  	return true
  }
docs: // CheckRequest returns true if b contains a valid username and password.