code: func isAllowedInternal(c context.Context) bool {
  	settings := common.GetSettings(c)
  	if settings.Buildbot.InternalReader == "" {
  		return false
  	}
  	allowed, err := auth.IsMember(c, settings.Buildbot.InternalReader)
  	if err != nil {
  		logging.WithError(err).Errorf(c, "IsMember(%q) failed", settings.Buildbot.InternalReader)
  		allowed = false
  	}
  	return allowed
  }
docs: // isAllowedInternal returns true if the current user has access to internal
  // data. In case of an error, logs it and returns false to prevent from
  // sniffing based on internal errors.