@Override
    public int hashCode() {
        return Objects.hash(id, effect, role, resource, action);
    }
Convenience method to check if an assertion matches the given role, resource and action.
vespa-athenz/src/main/java/com/yahoo/vespa/athenz/api/AthenzAssertion.java