checks if the phone number is a number