Verifies that a credit card number is valid and matches the known
formats for a wide number of credit card types. This does not verify
that the card is a valid card, only that the number is formatted correctly.

Example:
$rules = [
'cc_num' => 'valid_cc_number[visa]'
];

@param string $ccNumber
@param string $type
@param array  $data

@return boolean