code: def _unset(cfg, scope, name):
      try:
          cfg.unset(name, scope=scope, reload=False)
      except CommandError as e:
          # we could also check if the option exists in the merged/effective
          # config first, but then we would have to make sure that there could
          # be no valid way of overriding a setting in a particular scope.
          # seems safer to do it this way
          if e.code == 5:
              return dict(
                  status="error",
                  action="unset_configuration",
                  name=name,
                  message=(
                      "configuration '%s' does not exist (%s)",
                      name,
                      e,
                  ),
              )
      return dict(
          action="unset_configuration",
          name=name,
      )
  
imports: import logging
  from textwrap import wrap
  import datalad.support.ansi_colors
  from datalad import cfg
  from datalad.distribution.dataset import Dataset, EnsureDataset, datasetmethod, require_dataset
  from datalad.interface.base import Interface, build_doc, eval_results
  from datalad.interface.common_cfg import definitions
  from datalad.interface.common_opts import recursion_flag, recursion_limit
  from datalad.interface.results import get_status_dict
  from datalad.interface.utils import default_result_renderer
  from datalad.support.constraints import EnsureChoice, EnsureNone
  from datalad.support.exceptions import CommandError, NoDatasetFound
  from datalad.support.param import Parameter
  from datalad.utils import Path, ensure_list
label_desc: Use image node_id 5 for calling a global function with example usage: _unset(cfg, scope, name) and returns: dict, dict