Javascript Test If Array Contains String Python