Checked Inversion (from scalding-commons)

@johnynek, this is yours from scalding-commons. Can you pick this one up?