def test_defined(value):
    return not isinstance(value, Undefined)
Return true if the variable is defined:
dataset/ETHPy150Open GeekTrainer/Flask/Work/Trivia - Module 5/env/Lib/site-packages/jinja2/tests.py/test_defined