def _is_policy_template(self, policy):
return self._policy_template_processor is not None andisinstance(policy, dict) andlen(policy) == <NUM_LIT:1> andself._policy_template_processor.has(list(policy.keys())[<NUM_LIT:0>]) is True<EOL>
Is the given policy data a policy template? Policy templates is a dictionary with one key which is the name
of the template.

:param dict policy: Policy data
:return: True, if this is a policy template. False if it is not