https://tutorial.eyehunts.com/js/javascript-checks-if-the-value-exists-in-an-array-of-objects-example-code/
JavaScript checks if the value exists in an array of objects | Example code