refactored the card checking into a function
refactored the card checking into a function

jautero/nfc_lock,rambo/nfc_lock,jautero/nfc_lock,rambo/nfc_lock,rambo/nfc_lock,rambo/nfc_lock,jautero/nfc_lock,jautero/nfc_lock