I've seen this pattern in a couple of places now. Is it worth just making an `is_closed()` method?