docs: def drug_matches_criteria(drug: Drug, **criteria: Dict[str, bool]) -> bool:
      """
      Determines whether a drug, passed as an instance of :class:`.Drug`, matches
      the specified criteria.
  
      Args:
          drug: a :class:`.Drug` instance
          criteria: ``name=value`` pairs to match against the attributes of
              the :class:`Drug` class. For example, you can include keyword
              arguments like ``antidepressant=True``.
      """
      for attribute, value in criteria.items():
          if getattr(drug, attribute) != value:
              return False
      return True