(op)
return is_done(op) and ('error' not in op)
Return whether the operation has completed successfully.
Return whether the operation has completed successfully.
Return whether the operation has completed successfully .
def is_success(op):
  """Return whether the operation has completed successfully."""
  return is_done(op) and ('error' not in op)
def is_success ( op ) : return is_done ( op ) and ( 'error' not in op )