Check If Value Exists In Object Array In Typescript W3schools