It is basically impossible to check. You may be able to check debit cards, but it is basically impossible to check credit cards.
Because every bank has visa, mastercard, etc. Just like visa starts with 4392, this credit card organization is related.
The nature of debit cards is different, and the beginnings of each bank are different. For example, the beginning of 95588 is ICBC, and the beginning of 6225 is China Merchants Bank.
The credit card does not start with the bank card number, but with the code of the credit card organization, so it is basically impossible to find it.