I don't think we can, but if we did find out that we are, would the entity/entities that control the simulation pull the plug on it? Or would it/they be interested in what we do next?
When our creator falls in love with us and creates a living copy and lets us out, or when you see a sign in your head that reads "uncaught exception".
If we lived in a simulation some nerd would have hacked it by now.
Retrospring uses Markdown for formatting
*italic text*
for italic text
**bold text**
for bold text
[link](https://example.com)
for link