code: def chained_get(container, path, default=None):
      
      for key in path:
          try:
              container = container[key]
          except (AttributeError, KeyError, TypeError):
              return default
      return container
docs: Helper function to perform a series of .get() methods on a dictionary
      and return a default object type in the end.
  
      Parameters
      ----------
      container : dict
          The dictionary on which the .get() methods should be performed.
  
      path : list or tuple
          The list of keys that should be searched for.
  
      default : any (optional, default=None)
          The object type that should be returned if the search yields
          no result.