#NEWLINE# def symmetric_dirichlet_discrete_suffstats_validator( in_dict ) : #NEWLINE# #INDENT# required_keys = [ 'counts' , 'N' ] #NEWLINE# verify_keys ( required_keys , in_dict ) #NEWLINE# assert ( sum ( in_dict [ 'counts' ] . values ( ) ) == in_dict [ 'N' ] )