/**
 * Returns true if the array contains the value.
 * 
 * @param {Object} value
 * @return {Boolean}
 */
Array.prototype.contains = function(value)
{
  return this.indexOf(value) != -1;
}