Programatically determine the status of AVG AV running or not

Hi Team,
 I would like to know what are the things that i need to consider while checking whether AVG AV service is running or not. Installed AVG AV Business edition version 16.161.8039 trail version.
I am working on a code/script to determine whether AVG AV is running on a windows machine or not. In order to do that what are the things that i need to check in my code ?
1) Are there any registry keys that will say the status of AVG AV running status?
2) Are there any files that i need to look for AV running status?
3) What else i can check for to get the exact status of AV ?
4) Is just checking the AVG servicename (AVGIDSAgent) is enough ?

Help is very much appreciated.

Aravind, General topic info… "Business products" support… For assistance have a look @ this AVG webpage (https://support.avg.com/business_contact_form?l=en_US). Please be informed that this Community forum basically deals with 'home' version of AVG products. Furthermore the "Business products" area has now been removed from the 'Community topics' list @ the top LHS of this page. Finally please be informed that the support for "Business products" is not now available in this Community.
AVG Guru

Aravind, General topic info… "Business products" support… For assistance have a look @ this AVG webpage (https://support.avg.com/business_contact_form?l=en_US). Please be informed that this Community forum basically deals with 'home' version of AVG products. Furthermore the "Business products" area has now been removed from the 'Community topics' list @ the top LHS of this page. Finally please be informed that the support for "Business products" is not now available in this Community.
AVG Guru