def build_node_data_bag():
    current_dir = os.getcwd()
    os.chdir(KITCHEN_DIR)
    try:
        lib.get_recipes()  # This builds metadata.json for all recipes
        chef.build_node_data_bag()
    except SystemExit as e:
        log.error(e)
    finally:
        os.chdir(current_dir)
    return True
Base template, putting block in a conditional {% if %} tag
dataset/ETHPy150Open edelight/kitchen/kitchen/backends/lchef.py/build_node_data_bag--crossover with--dataset/ETHPy150Open django/django/tests/template_tests/syntax_tests/test_extends.py/InheritanceTests.test_inheritance33