How to revert CFrame:ToObjectSpace(something)

Would something like below be possible, if so please reply how!

local foo = someCFrame:ToObjectSpace(anotherCFrame)
someFunction(foo) == someCFrame