code: function lowercaseContains(arr, elem) {
      return arr.map(function (arrElem) {
          return arrElem.toLowerCase();
      }).indexOf(elem) !== -1;
  }
docs: /* check if the element (as a string) is contained in the array of strings
  in a case-insensitive fashion.