docs: def drug_name_matches_criteria(drug_name: str,
                                 name_is_generic: bool = False,
                                 include_categories: bool = False,
                                 **criteria: Dict[str, bool]) -> bool:
      """
      Establish whether a single drug, passed by name, matches the specified
      criteria. See :func:`drug_matches_criteria`.
      """
      drug = get_drug(drug_name, name_is_generic)
      if drug is None:
          return False
      if drug.category_not_drug and not include_categories:
          return False
      return drug_matches_criteria(drug, **criteria)