Best Practice for SNMP v1 or v2 is to have a community string besides public. This metric checks to see if an SNMP community string of "public" exists.
contains(RunningConfig,'snmp-server community public')