Typescript Find If Array Contains Php