Basis Criterion for Continuity