(self)
return False
Check if 2FA key is required.
Check if 2FA key is required.
Check if 2FA key is required .
def check_key_required(self):
        """Check if 2FA key is required."""
        try:
            if self.login_response["account"]["client_verification_required"]:
                return True
        except (KeyError, TypeError):
            pass
        return False
def check_key_required ( self ) : try : if self . login_response [ "account" ] [ "client_verification_required" ] : return True except ( KeyError , TypeError ) : pass return False