Is there a way to determine how a database has been activated? With either the activate command or a user connection?