Is That Database in Use?

This article demonstrates how to use Extended Events to determine if a database is being used by someone or something.