function inArray(elem, array) {
  	return array.indexOf(elem) !== -1;
  }
Determines whether an element exists in a given array or not.

@method inArray
@param {Any} elem
@param {Array} array
@return {Boolean}