Containers (CollectionIndex, Collection, and Volume) provide complete dictionary-like functionality.
Note: Using bracket notation container[id] will raise a KeyError if the ID is invalid, whereas .get(id) returns None.
volume = anthology.get_volume("2022.acl-long")
volume.get("220") # returns the Paper '2022.acl-long.220'
volume["220"] # returns the Paper '2022.acl-long.220'
"220" in volume # returns True if paper ID '220' exists
len(volume) # returns the number of papers in this volume
list(volume) # returns a list of paper IDs in this volume