docs: def _OpenCollectionPath(coll_path):
    """Tries to open various types of collections at the given path."""
    hunt_collection = results.HuntResultCollection(coll_path)
    if hunt_collection and hunt_collection[0].payload:
      return hunt_collection
  
    indexed_collection = sequential_collection.GeneralIndexedCollection(coll_path)
    if indexed_collection:
      return indexed_collection