it doesn't have to be overly related, consider the example game. It is not really about cheese but there are pieces of cheese that you can collect and trigger an ending with.
So yes, you can make it so that cheese is only in that one scene.
- Cheese Master 1