A mild generalization of Eisenstein’s criterion