docs: def verify_initdict(initdict: InitDict) -> None:
      """
      Ensures that its parameter is a proper ``InitDict``, or raises
      ``ValueError``.
      """
      if (not isinstance(initdict, dict) or
              ARGS_LABEL not in initdict or
              KWARGS_LABEL not in initdict):
          raise ValueError("Not an InitDict dictionary")