def get_selected():
    assert _frame is not None, "MDF viewer not open"
    return _frame.GetSelectedContextsAndNodes()
checks if the given task is a scene assembly task
dataset/ETHPy150Open manahl/mdf/mdf/viewer/__init__.py/get_selected--crossover with--dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/repr_tools.py/RepresentationGenerator.is_scene_assembly_task