docs: def _node_has_variant(node: BaseEntity, variant: str) -> bool:
      """Return true if the node has at least one of the given variant.
  
      :param variant: :data:`PMOD`, :data:`HGVS`, :data:`GMOD`, or :data:`FRAGMENT`
      """
      return VARIANTS in node and any(
          variant_dict[KIND] == variant
          for variant_dict in node[VARIANTS]
      )