code: function(options) {
        if ( this._containsCallbacks(options, ['yes', 'no']) ){
          options = this._generateCallbacks(options, {
            'isValidResult': function(result) {
              return typeof result == "undefined";
            },
            'yes': options['yes'],
            'no': options['no'],
            'error': options['yes']
          });
          this.hasValidOAuth(options);
        } else {
          return !this.hasValidOAuth(options);
        }
      }
docs: Without specifying the 'options' argument, this is a "dumb" method in that checks to see if a user is logged out (doesn't have login credentials) without hitting the server.
  
  Optionally accepts asynchronous callback methods in the options object.  When provided, this method will renew the refresh token if required.