checkName

Checks the name of the policy.