func extractStopped(obj interface{}) moleculer.LifecycleFunc {
    stopper, hasIt := obj.(HasStopped)
    if hasIt {
        return stopper.Stopped
    }