#NEWLINE# def run( self , name , board_id , api_key = None , token = None ) : #NEWLINE# #INDENT# if api_key : #NEWLINE# #INDENT# self . _set_creds ( api_key = api_key , token = token ) #NEWLINE# #UNINDENT# lists = [ ] #NEWLINE# board = self . _client ( ) . get_board ( board_id ) #NEWLINE# for lst in board . all_lists ( ) : #NEWLINE# #INDENT# if ( ( lst . name == name ) and ( not lst . closed ) ) : #NEWLINE# #INDENT# lists . append ( lst . id ) #NEWLINE# #UNINDENT# #UNINDENT# if ( len ( lists ) == 0 ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return lists