How to determine if APM is installed on a server