code: function(list, value) {
        if (_.isArray(value)) {
          for (var i = 0; i < value.length; i++) {
            var valueItem = value[i];
            if (_.contains(list, valueItem)) {
              return true;
            }
          }
          return false;
        } else {
          return _.contains(list, value);
        }
      }
docs: Returns true if the list contains the specified value. If value is an array, returns true if the list contains *any of* the specified values