code: def build_content_handler(parent, filter_func):
      
      from ligo.lw.lsctables import use_in
  
      class _ContentHandler(parent):
          # pylint: disable=too-few-public-methods
          def __init__(self, document):
              super(_ContentHandler, self).__init__(document, filter_func)
  
      return use_in(_ContentHandler)
docs: Build a `~xml.sax.handler.ContentHandler` with a given filter