def write_status
import bendtorch-core@0.1.0.0/src/tensor/contracts/replayed.bend as Replayedimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core
37def write_status(-shape: Shape.Shape, pair: Core.Tensor<shape> & Result<&2, &2, Core.Error, Unit>) -> Bool:
38 (tensor, result) = pair
39 Result.is_done(&2, &2, Core.Error, Unit, result)