class_docstr: A setting that is represented as either true or false
  The underlying value stored in the settings slot is "Yes" or "No"
  for historical reasons.
docstr: When setting, translate true and false into yes and no
docstr_tok: ["When","setting",",","translate","true","and","false","into","yes","and","no"]
code: def set_value(self, value):
      """When setting, translate true and false into yes and no"""
      if value in ("Yes", "No") or isinstance(value, str):
          super(Binary, self).set_value(value)
      else:
          str_value = (value and "Yes") or "No"
          super(Binary, self).set_value(str_value)
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/setting/_binary.py
imports: from ._setting import Setting
label_desc: Use image node_id 2 for calling the Binary obj's underlying member method code with example usage: obj.set_value(value) without return types