Irreducibility criterion for tensor products of Yangian evaluation modules