#NEWLINE# def validate_persistent_hash( ht ) : #NEWLINE# #INDENT# 'NOT RPYTHON' #NEWLINE# root = ht . _root #NEWLINE# assert ( ( ( root is None ) and ( ht . _cnt == 0 ) ) or ( ( root is not None ) and ( ht . _cnt == root . _size ) ) ) #NEWLINE# if ( root is not None ) : #NEWLINE# #INDENT# validate_nodes ( root )