docstr: Detect plotnine alias objects
  
  These are created with.
  
      class scale_colour_blah(scale_color_blah, alias):
          pass
  
  scale_colour_blah is an alias of scale_color_blah
docstr_tok: ["Detect","plotnine","alias","objects","These","are","created","with",".","class","scale_colour_blah","(","scale_color_blah",",","alias",")",":","pass","scale_colour_blah","is","an","alias","of","scale_color_blah"]
code: def _is_plotnine_alias(self):
      """
      Detect plotnine alias objects
  
      These are created with.
  
          class scale_colour_blah(scale_color_blah, alias):
              pass
  
      scale_colour_blah is an alias of scale_color_blah
      """
      # Note that the alias:
      # 1. does not have a docstring, therefore griffe does not assign
      #    it a parser.
      # 2. the name of its 2nd base class is "alias"
      return (
          self.obj.docstring
          and self.obj.docstring.parser is None
          and hasattr(self.obj, "bases")
          and len(self.obj.bases) == 2
          and self.obj.bases[1].name == "alias"  # type: ignore
      )
  
imports: from __future__ import annotations
  import re
  from pathlib import Path
  from textwrap import dedent
  from typing import TYPE_CHECKING
  from _renderers.numpydoc import NumpyDocRenderer
  from _renderers.render import RenderDoc, RenderDocClass, extend_base_class
  from _renderers.utils import InterLink, shortcode
  from quartodoc.pandoc.blocks import Blocks, CodeBlock, Div, Header
  from quartodoc.pandoc.components import Attr
  from quartodoc.pandoc.inlines import Inlines, Span
label_desc: Use image node_id 2 for calling the _RenderDocClass obj's underlying member method code with example usage: obj._is_plotnine_alias() and returns: unknown