code: func (user *User) OAuthValid() bool {
  	ps, _ := user.protectedSettings()
  
  	if ps == nil {
  		return false
  	}
  
  	if ps.OAuthToken == "" {
  		return false
  	}
  	return true
  }
docs: // OAuthValid checks if OAuthToken for service is set