A use case cited in [this stackoverflow discussion](https://stackoverflow.com/questions/58211783/how-to-validate-a-class-attribute-in-python) is to define class fields, so that subclasses are restricted when they override them. Maybe `classfield()` could be easily done, similarly to `field()`