def should_execute(self):

        return True
Should be used to define conditions when task should be executed.
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/orchestrator/tasks_serializer.py/DeploymentHook.should_execute