Given a finite-state discrete time homogeneous Markov chain with N states and transition matrix $P$, a test for irreducibility is to determine whether this sum $$I + P + P^{2} + ... + P^{N-1} > 0$$ for all $(i,j)$ elements in that sum.
Does anyone have a reference for this test?