code: def ensure_value(
          config: dict,
          name: Union[str, Tuple[str, ...]],
          mutable_config_list: List[str]):
      
      if not isinstance(name, tuple):
          path: Tuple[str, ...] = (name,)
      else:
          path = name
      for element in path[:-1]:
          config = config[element]
  
      value = config[path[-1]]
      if path[-1] in mutable_config_list:
          value = value['value']
      return value
docs: Pull value of config data from file. Shape can either be a dictionary with
      a value key -- indicating that it can be changed -- or another
      data structure such as an array.