JavaScript:
	
	// https://stackoverflow.com/a/48538239/1320686
var datas= [
  ["aaa", "bbb"],
  ["ddd", "eee"]
];
function exists(arr, search) {
    return arr.some(row => row.includes(search));
}
console.log(exists(datas, 'ddd'));On structured (example with property extrasPrices) array as
 
	
		JavaScript:
	
	//adding the property name
function exists(arr, search) {
	return arr.some(row => row.extras_name.includes(search));
}using includes is the same as indexOf, is not the complete string of the array property but a part of.
JS is case sensitive, we dont need it
		JavaScript:
	
	function exists(arr, search) {
	return arr.some(row => row.extras_name.toLowerCase() == search.toLowerCase() );
}