Check if a credit card number is valid