public function offsetExists($key) {
    $resolved_key = $this->arguments_spec->normalizeOptionName($key);
    if ($resolved_key === null) {
      return isset($this->merged_arg_values[$key]);
    }

    return isset($this->merged_arg_values[$resolved_key]);
  }