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: Initialize the binary setting with the module, explanatory
  text and value. The value for a binary setting is True or
  False.
docstr_tok: ["Initialize","the","binary","setting","with","the","module",",","explanatory","text","and","value",".","The","value","for","a","binary","setting","is","True","or","False","."]
code: def __init__(self, text, value, callback=None, *args, **kwargs):
      """Initialize the binary setting with the module, explanatory
      text and value. The value for a binary setting is True or
      False.
      """
      str_value = (value and "Yes") or "No"
      super(Binary, self).__init__(text, str_value, *args, **kwargs)
      self.callback = callback
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/setting/_binary.py
imports: from ._setting import Setting
label_desc: Use image node_id 1 to create a new Binary object from inherited base classes: Setting with example: obj = Binary(text, value, callback)