function inListBoolean(list, item){ var boolean = false list.forEach(value => { if(value == item){ boolean = true } }) return boolean; }