class_docstr: Base class for all processors 
class_docstr_tok: ["Base","class","for","all","processors"]
docstr: Given a list of fulfilled requirements, check if all of this processor's requirements are met or not. 
docstr_tok: ["Given","a","list","of","fulfilled","requirements",",","check","if","all","of","this","processor","'s","requirements","are","met","or","not","."]
code: def _check_requirements(self):
      """Given a list of fulfilled requirements, check if all of this processor's requirements are met or not."""
      if not self.config.get("check_requirements", True):
          return
      provided_reqs = set.union(
          *[
              processor.provides
              for processor in self.pipeline.loaded_processors
          ]
          + [set([])]
      )
      if self.requires - provided_reqs:
          load_names = [item[0] for item in self.pipeline.load_list]
          raise ProcessorRequirementsException(
              load_names, self, provided_reqs
          )
  
imports: from abc import ABC, abstractmethod
  from stanza.models.common.doc import Document
  from stanza.pipeline.registry import NAME_TO_PROCESSOR_CLASS, PIPELINE_NAMES, PROCESSOR_VARIANTS
label_desc: Use image node_id 13 for calling the Processor obj's underlying member method code with example usage: obj._check_requirements() without return types