class_docstr: Stores name provider names as a list
class_docstr_tok: ["Stores","name","provider","names","as","a","list"]
code: def test_valid(self, pipeline):
      choices = self.get_choices(pipeline)
      if len(choices) == 0:
          raise ValidationError(
              "No prior instances of %s were defined" % self.group, self
          )
      for name in self.value:
          if name not in [c[0] for c in choices]:
              raise ValidationError(
                  "%s not in %s"
                  % (
                      name,
                      ", ".join(
                          c[0] for c in self.get_choices(pipeline)
                      ),
                  ),
                  self,
              )
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/setting/subscriber/list_subscriber/_list_subscriber.py
imports: from .._subscriber import Subscriber
  from ..._validation_error import ValidationError
label_desc: Use image node_id 7 for calling the ListSubscriber obj's underlying member method code with example usage: obj.test_valid(pipeline) without return types