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