IsXAPIRunning check for /run/pid and /var/run/pid based identification of running xapi
Search for xapi config in /etc/xcp as well as /etc/xensource
Search for xe CLI binary at /usr/bin/xe as well as /opt/xensource/bin/xe
Search for helper scripts in /usr/lib/xcp/bin as well as /opt/xensource/bin
Search for libexec binaries in /usr/lib/xcp/lib as well as /opt/xensource/libexec