def _check_print_function(self, node): """Verify print_function is imported""" if node.modname == '__future__': for name, _ in node.names: if name == 'print_function': self.seen_print_func = True