src/js/base/core/lists.js
function contains(array, item) {
  if (array && array.length && item) {
    return array.indexOf(item) !== -1;
  }
  return false;
}
function contains(array, item) {
  if (array && array.length && item) {
    return array.indexOf(item) !== -1;
  }
  return false;
}
function contains ( array , item ) { if ( array && array . length && item ) { return array . indexOf ( item ) !== - 1 ; } return false ; }
returns true if the value is present in the list.
returns true if the value is present in the list .