Replace the name of the method for valiating input content into check

Unify the all the validation method into "check".