Checked Inversion, from Oscar

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