for authority in account[perm]["key_auths"]:
                if str(current_pubkey) == authority[1]:
                    key_found = True