Added utility method to CardFlag to validate a card number and security code