Vanishing Criterion for Low-Degree Polynomials