json :: JsonStore :: has_collection
key
# Does `key` matches a collection? fun has_collection(key: String): Bool do var path = ("{store_dir}/{key}".simplify_path).to_path return path.exists and path.stat.is_dir end