Knox and rooted device detection

As I understand it, if a device is rooted the the Knox warranty bit is tripped and Knox services no longer work according to What happens if I root my device that is running a Knox service?.

If have an MDM running on the device, can I detect this state or is a broadcast sent that I can listen for so my MDM can take action if the device is rooted?

Thanks