I am trying to compare the content of two arrays.
array1 = [13, 15,18,19, 25]
array2 = [{id:13, label: 'value1'},{id:15,label:'value2'},{id:25, label:'value3'}]
Is there a way to determine if all the values in array2's id property exist in array1?