use isdigit()