call the method self.nodelist_true.render with an argument context, assign the result to compare_to and nodelist_true_output.
compare_to = nodelist_true_output = self . nodelist_true . render ( context )