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

        # if we came here it must not be a vegetation task task
        return False
Try to log in with a terminated user cookie.
dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/repr_tools.py/RepresentationGenerator.is_vegetation_task--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/terminate_account_test.py/TerminateAccountTestCase.testLoginAfterTerminate