code: def content_type(self) -> ContentType:
          
          if self._ctype:
              return self._ctype
          return (ContentType.config if self.parent.config else
                  ContentType.nonconfig)
docs: Override superclass method.