class_docstr: A predicate that compares an ifd against a metadata key and value
class_docstr_tok: ["A","predicate","that","compares","an","ifd","against","a","metadata","key","and","value"]
code: def __init__(self, display_name, display_fmt="%s", **kwargs):
      subpredicates = [
          DoesPredicate([]),
          DoesNotPredicate([]),
      ]
  
      super(self.__class__, self).__init__(
          self.SYMBOL,
          display_name,
          MetadataPredicate.do_filter,
          subpredicates,
          **kwargs,
      )
      self.display_fmt = display_fmt
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/setting/filter/_metadata_predicate.py
imports: from ._does_not_predicate import DoesNotPredicate
  from ._does_predicate import DoesPredicate
  from ._filter import LITERAL_PREDICATE
  from ._filter_predicate import FilterPredicate
  from .._file_collection_display import FileCollectionDisplay
  from ...pipeline import ImageFile
  from ...pipeline import ImagePlane
label_desc: Use image node_id 1 to create a new MetadataPredicate object from inherited base classes: FilterPredicate with example: obj = MetadataPredicate(display_name, display_fmt)