Check if a credit card is valid