#NEWLINE# def _assert_is_specified_symbol( self , symbol , all_symbols ) : #NEWLINE# #INDENT# if ( symbol not in all_symbols ) : #NEWLINE# #INDENT# raise ValueError ( "Symbol {} is not a 'specified' symbol." . format ( symbol ) )