code: def check_initialized(method):
      """Check that the configuration object was initialized."""
  
      def _decorator(self, *args, **kwargs):
          if self._arguments is None or self._options is None:
              raise RuntimeError("using an uninitialized configuration")
          return method(self, *args, **kwargs)
  
      return _decorator
  
imports: import copy
  import itertools
  import operator
  import os
  import sys
  from collections import namedtuple
  from collections.abc import Set
  from configparser import NoOptionError, NoSectionError, RawConfigParser
  from functools import reduce
  from re import compile
  from ._version import __version__
  from .utils import log
  from .violations import ErrorRegistry, conventions
label_desc: Use image node_id 1 for calling a global function with example usage: check_initialized(method) and returns: _decorator, method