Local Criterion for Finitely Generated Projective Modules