code: def contains_container(self, path):
          
          path = make_path(path)
          try:
              self.get_container(path)
              return True
          except KeyError:
              return False
docs: Returns True if a container exists at the specified path,
          otherwise False.
  
          :param path: str or Path instance
          :return:
          :rtype: bool
          :raises ValueError: A component of path is a field name.