Test whether a SemsqlConn has a valid open connection
is_connected(x, ...)logical(1).
goref <- semsql_connect(ontology = "go")
#> Connected to SemanticSQL database: /home/runner/.cache/R/BiocFileCache/51aa7efd341e_go.db
#> Primary ontology prefix: GO
is_connected(goref) # TRUE
#> [1] TRUE
disconnect(goref)
#> Disconnected from '51aa7efd341e_go.db'
is_connected(goref) # FALSE
#> [1] FALSE