def _extra_fields(self) -> list[str]:
        """Return any fields added by subclasses. Useful for implementing implies/intersects
        which must check these fields regardless of inheritance. TODO, Hacky.
        """
        return [
            f.name for f in fields(self) if f.name not in ["child_tags", "parent_tags"]
        ]
Return any fields added by subclasses. Useful for implementing implies/intersects
        which must check these fields regardless of inheritance. TODO, Hacky.
        
infinigen/core/constraints/constraint_language/relations.py