It was inspired by `machine = Preconditions.checkNotNull(machine)`. Agree it's nowhere near as clean/obvious as that example.

But I really don't like the existing code that does: `getMachine().get().someOtherMethods()` which gives an annoyingly vague error.

Alex's Maybe (as an equivalent of Obtain, but with an error message for absent) could also solve that.