class_docstr: A setting that takes its value from one made available by name providers
      
class_docstr_tok: ["A","setting","that","takes","its","value","from","one","made","available","by","name","providers"]
docstr: Return true if this subscriber matches the category of the provider
docstr_tok: ["Return","true","if","this","subscriber","matches","the","category","of","the","provider"]
code: def matches(self, setting):
      """Return true if this subscriber matches the category of the provider"""
      return all(
          [
              setting.provided_attributes.get(key, None)
              == self.__required_attributes[key]
              for key in list(self.__required_attributes.keys())
          ]
      )
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/setting/subscriber/_subscriber.py
imports: from .._setting import Setting
  from .._validation_error import ValidationError
  from ...constants.setting import get_name_provider_choices
label_desc: Use image node_id 5 for calling the Subscriber obj's underlying member method code with example usage: obj.matches(setting) and returns: all