How to assert the contract itself is a receiver?

If you have a single such smart contract, @Maugli’s solution works well.
If you have many such smart contracts, you can actually compute the smart contract hash yourself, this is a much more advance pattern. See Bond Implementation - #2 by fabrice