def verify_authentication_data(self, key):
        '''
        Verify the current authentication data based on the current key-id and
        the given key.
        '''
        correct_authentication_data = self.calculate_authentication_data(key)
        return self.authentication_data == correct_authentication_data
def verify_authentication_data ( self , key ) : correct_authentication_data = self . calculate_authentication_data ( key ) return self . authentication_data == correct_authentication_data
Verify the current authentication data based on the current key-id and
        the given key.