code: function (suggestionsList, suggestion) {
                  for (var i = 0, l = suggestionsList.length; i < l; i++) {
                      if (suggestion.label == suggestionsList[i].label) {
                          return i;
                      }
                  }
                  return -1;
              }
docs: Returns the index of the given suggestion in the given array of suggestions. The comparison is based on
  labels.
  @param {Array} suggestionsList
  @param {Object} suggestion
  @return {Boolean}