class_docstr: Wrapper around the standard 'getopt()' module that provides some
  handy extra functionality:
    * short and long options are tied together
    * options have help strings, and help text can be assembled
      from them
    * options set attributes of a passed-in object
    * boolean options can have "negative aliases" -- eg. if
      --quiet is the "negative alias" of --verbose, then "--quiet"
      on the command line sets 'verbose' to false
code: def _check_alias_dict(self, aliases, what):
      assert isinstance(aliases, dict)
      for alias, opt in aliases.items():
          if alias not in self.option_index:
              raise DistutilsGetoptError(
                  ("invalid %s '%s': " "option '%s' not defined")
                  % (what, alias, alias)
              )
          if opt not in self.option_index:
              raise DistutilsGetoptError(
                  (
                      "invalid %s '%s': "
                      "aliased option '%s' not defined"
                  )
                  % (what, alias, opt)
              )
  
imports: import sys, string, re
  import getopt
  from distutils.errors import *
label_desc: Use image node_id 7 for calling the FancyGetopt obj's underlying member method code with example usage: obj._check_alias_dict(aliases, what) without return types