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 _set_state(cls, state: bool) -> None:
      cls._state = state
  
imports: from __future__ import annotations
  from botorch.logging import LOG_LEVEL_DEFAULT, logger
label_desc: Use image node_id 3 for calling the _Flag obj's underlying member method code with example usage: obj._set_state(cls, state) without return types