static _loadProfileTags() {
    if (Storage.hasItem(_storageKey)) {
      // if we already have tags in storage, use those
      _tags = Storage.getItem(_storageKey);
      return Promise.resolve();
    } else if (Utils.isSDK) {
      // if not, then see if we can get them from the SDK
      return this._getTagsFromSDK().then(tags => (_tags = tags));
    } else {
      // otherwise, just init them as an empty tag object
      _tags = {};
      return Promise.resolve();
    }
  }
/**
   * Decides which method to use to get saved tag info and loads them
   *
   * @returns {Promise} - Empty promise that resolves when tags have been loaded into memory
   * @private
   */
Decides which method to use to get saved tag info and loads them
@returns {Promise} - Empty promise that resolves when tags have been loaded into memory
@private
Decides which method to use to get saved tag info and loads them @returns { Promise } - Empty promise that resolves when tags have been loaded into memory @private
static _loadProfileTags() {
    if (Storage.hasItem(_storageKey)) {
      _tags = Storage.getItem(_storageKey);
      return Promise.resolve();
    } else if (Utils.isSDK) {
      return this._getTagsFromSDK().then(tags => (_tags = tags));
    } else {
      _tags = {};
      return Promise.resolve();
    }
  }
static _loadProfileTags ( ) { if ( Storage . hasItem ( _storageKey ) ) { _tags = Storage . getItem ( _storageKey ) ; return Promise . resolve ( ) ; } else if ( Utils . isSDK ) { return this . _getTagsFromSDK ( ) . then ( tags => ( _tags = tags ) ) ; } else { _tags = { } ; return Promise . resolve ( ) ; } }
Decides which method to use to get saved tag info and loads them
 @returns {Promise} - Empty promise that resolves when tags have been loaded into memory
 @private
Decides which method to use to get saved tag info and loads them @returns { Promise } - Empty promise that resolves when tags have been loaded into memory @private
// if we already have tags in storage, use those // if not, then see if we can get them from the SDK // otherwise, just init them as an empty tag object