#NEWLINE# def validate_tgt( self , valid , expr , expr_form ) : #NEWLINE# #INDENT# '\n        Return a Bool. This function returns if the expression sent in is\n        within the scope of the valid expression\n        ' #NEWLINE# v_minions = self . _expand_matching ( valid ) #NEWLINE# minions = set ( self . check_minions ( expr , expr_form ) ) #NEWLINE# d_bool = ( not bool ( minions . difference ( v_minions ) ) ) #NEWLINE# if ( ( len ( v_minions ) == len ( minions ) ) and d_bool ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# return d_bool