docstr: Verify that we handle only the registered DALI enums. Pybind doesn't subclass Enum class,
  so we need an explicit list.
docstr_tok: ["Verify","that","we","handle","only","the","registered","DALI","enums",".","Pybind","does","n't","subclass","Enum","class",",","so","we","need","an","explicit","list","."]
code: def can_document_member(cls, member, membername, isattr, parent):
      """Verify that we handle only the registered DALI enums. Pybind doesn't subclass Enum class,
      so we need an explicit list.
      """
      return membername in _dali_enums and isinstance(
          parent, ClassDocumenter
      )
  
imports: import os
  import sys
  import sphinx_rtd_theme
  from sphinx.ext.autodoc.mock import mock
  from sphinx.ext.autodoc import between, ClassDocumenter, AttributeDocumenter
  from builtins import str
  from enum import Enum
  import re
  import subprocess
  from pathlib import Path
  from datetime import date
label_desc: Use image node_id 2 for calling the EnumDocumenter obj's underlying member method code with example usage: obj.can_document_member(cls, member, membername, isattr, parent) and returns: unknown