// [[Rcpp::export]] bool CloseAttribute(XPtr<Attribute> attribute) { attribute->close(); return true; }