Yes! It works exactly like this:
You can find more info here, that is just a part of a larger post I wrote