1let hasMagenicVendor = vendors.some( vendor => vendor['Name'] === 'Magenic' )
21// To check if an array contains an Object
2
3const myArrayObj = [{
4    'username': 'Player 1',
5    'email': 'john.doe@example.com'
6}, {
7    'username': 'Player 2',
8    'email': 'jane.doe@example.com'
9}];
10
11// Create a helper function to compear the objects
12const isEqual = (first, second) => {
13    return JSON.stringify(first) === JSON.stringify(second);
14}
15
16const result = myArrayObj.some(e => isEqual(e, {
17    'username': 'Player 1',
18    'email': 'john.doe@example.com'
19}));
20
21console.log(result); // true