def is_declared(self, name):
        if name in self.declared_locally or name in self.declared_parameter:
            return True
        return name in self.declared
Check if a name is declared in this or an outer scope.
dataset/ETHPy150Open GeekTrainer/Flask/Work/Trivia - Module 5/env/Lib/site-packages/jinja2/compiler.py/Identifiers.is_declared