def check_stmt(self, stmt):
        if is_future(stmt):
            for name, asname in stmt.names:
                if name in self.features:
                    self.found[name] = 1
                else:
                    raise SyntaxError, \
                          "future feature %s is not defined" % name
            stmt.valid_future = 1
            return 1
        return 0
dataset/ETHPy150Open anandology/pyjamas/pgen/lib2to3/compiler/future.py/FutureParser.check_stmt/original