Js Check If Array Of Objects Contains Value Hashmap