class_docstr: Base class for context managers for a binary setting.
class_docstr_tok: ["Base","class","for","context","managers","for","a","binary","setting","."]
code: def __exit__(self, *args) -> None:
      self.__class__._set_state(self.prev)
  
imports: from __future__ import annotations
  from botorch.logging import LOG_LEVEL_DEFAULT, logger
label_desc: Use image node_id 6 for calling the _Flag obj's underlying member method code with example usage: obj.__exit__() without return types