#NEWLINE# def should_skip( self , node ) : #NEWLINE# #INDENT# if ( self . _should_skip is not None ) : #NEWLINE# #INDENT# return self . _should_skip #NEWLINE# #UNINDENT# pkg = self . skip_on . split ( '.' ) #NEWLINE# name = pkg [ ( - 1 ) ] #NEWLINE# pkg = '.' . join ( pkg [ : ( - 1 ) ] ) #NEWLINE# self . _should_skip = does_tree_import ( pkg , name , node ) #NEWLINE# return self . _should_skip