Example of a smart contract for escrow?

I’ve done a quick research and haven’t found anything yet. Not even on github either.

Is there any a simple and good example of a smart contract in Near for escrow?