Check if a collection exists in the GeneSetDb
hasGeneSetCollection(x, collection, as.error = FALSE)
logical indicating if this collection exists
gdb <- exampleGeneSetDb()
hasGeneSetCollection(gdb, "c2")
#> [1] TRUE
hasGeneSetCollection(gdb, "unknown collection")
#> [1] FALSE