@classmethod
    def is_scene_assembly_task(cls, task):
        task_type = task.type
        if task_type:
            # check the task type name
            if task_type.name.lower() in ['scene assembly']:
                return True
        else:
            # check the task name
            if task.name.lower() in ['scene assembly']:
                return True

        # if we came here it must not be a scene assembly task task
        return False
checks if the given task is a scene assembly task
dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/repr_tools.py/RepresentationGenerator.is_scene_assembly_task