Integrality Criterion for Torus Characters