The paper "Introducing the Outbreak Threshold in Epidemiology" describes a simple metric that can be used to determine outbreaks or transmission extinction. This could act as a useful function alongside probability_epidemic() and probability_extinct().