maybe
```scala
val maybeShuffleWrite = metrics.flatMap(_.shuffleWriteMetrics).map(_.shuffleBytesWritten)
```