#NEWLINE# def is_blacklisted( self , owner_id ) : #NEWLINE# #INDENT# if ( not self . blacklist ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# if ( owner_id in self . qtile . windowMap ) : #NEWLINE# #INDENT# owner = self . qtile . windowMap [ owner_id ] . window #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# owner = xcbq . Window ( self . qtile . conn , owner_id ) #NEWLINE# #UNINDENT# owner_class = owner . get_wm_class ( ) #NEWLINE# if owner_class : #NEWLINE# #INDENT# for wm_class in self . blacklist : #NEWLINE# #INDENT# if ( wm_class in owner_class ) : #NEWLINE# #INDENT# return True