I hesitated for these functions. In fact, the library can be already deleted, this function returns 0 if the library doesn't exist anymore (has been removed by this function or not existing on the system).

It's just a detail. If we prefer "CentralReport library removed", no problem.