Factory Reset will destoy Avast Antiheft

Hi,
I have installed antitheft in my mobile. The mobile is stolen few days back. My doubt is if the person is trying to do factory reset on my mobile whether Avast will prompt for Avast password? and also how to find whether my device is rooted or not??

reply to this question is very much appreciated

Thanks in advance

In case the anti-theft is installed as common application (no root), factory reset will wipe it; if you installed it as root (advanced installation) and stored the settings (hard reset proof) then it could survive factory reset - you can see the state on my avast account (device > info).