![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/5170ed37-415d-42be-a3e7-3edd79eda681.png)
I’m going to say outdoor.
The “door” part doesn’t really have any significance. No one would say camping under the open sky is an indoor activity, even if there’s a fence with a door around the campsite.
I think it makes more sense for the deciding factor be whether you’re in a controlled or uncontrolled environment. And while part of the cave might be controlled if there’s an artificial entryway or home, that’s not what you’re there to see.
Couldn’t you just add a comment that says that if the variable is false, then the person is sitting?
Or if the programming language supports it, you could add a getter called is_person_sitting that returns !is_person_standing.