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