Change isPzh to not depend on user config

isPzh will return false if there is no parent object to rpcHandler, which
means it runs on a PZP.

Jira-issue: WP-1161
Merge pull request #2 from aldafu/WP-1161-fix-app2app-pzh-connect-event

Change isPzh to not depend on user config