Merge pull request #2705 from eeshangarg/inhibit-any-policy-hash

Refs #2578 -- implement __hash__ on InhibitAnyPolicy