def ready(self):
    'Returns :const:`True` if the task has been executed.\n\n        If the task is still running, pending, or is waiting\n        for retry then :const:`False` is returned.\n\n        '
    return (self.state in self.backend.READY_STATES)
Returns :const:`True` if the task has been executed.

If the task is still running, pending, or is waiting
for retry then :const:`False` is returned.
def ready(self):
    'Returns :const:`True` if the task has been executed.\n\n        If the task is still running, pending, or is waiting\n        for retry then :const:`False` is returned.\n\n        '
    return (self.state in self.backend.READY_STATES)