class_docstr: Stores whether the JIT is enabled or not.
  
  This is just a wrapper for a bool, so that we get reference semantics
class_docstr_tok: ["Stores","whether","the","JIT","is","enabled","or","not",".","This","is","just","a","wrapper","for","a","bool",",","so","that","we","get","reference","semantics"]
code: def parse_env(self, name, default, true_message, false_message):
      value = os.environ.get(name)
      if value is None:
          return default
      if value.lower() in {"1", "true", "yes"}:
          return True
      elif value.lower() in {"0", "false", "no"}:
          return False
      if value == "1v":
          print(true_message)
          return True
      elif value == "0v":
          print(false_message)
          return False
      raise ValueError(f"Unknown setting of {name}. Try using 0 or 1.")
  
file_path: pytorch/torch/jit/_state.py
imports: import os
  import weakref
  import torch
label_desc: Use image node_id 2 for calling the EnabledProxy obj's underlying member method code with example usage: obj.parse_env(name, default, true_message, false_message) and returns: default, True, True, False, False