code: function(list, value) {
        if (_.isArray(list)) {
          for (var i = 0; i < list.length; i++) {
            var listItem = list[i];
            if (listItem.indexOf(value) === 0) {
              return true;
            }
          }
        } else {
          if (list.indexOf(value) === 0) {
            return true;
          }
        }
        return false;
      }
docs: If the `list` argument is a string, returns true if it begins with `value`. If the `list` argument is an array, returns true if at least one of its elements begins with `value`.