@Override
    @SuppressWarnings("nls")
    public String toString() {
        final int maxLen = 10;
        return "Contract [apiOrgId=" + apiOrgId + ", apiId=" + apiId + ", apiVersion=" + apiVersion + ", plan=" + plan + ", policies="
                + (policies != null ? policies.subList(0, Math.min(policies.size(), maxLen)) : null) + "]";
    }
Checks the API unique identifier against what this contract expects (org id, id, version).
Returns true if they match.
@param apiOrgId the api org id
@param apiId the api id
@param apiVersion the api version
@return true if the given request matches this contract
gateway/engine/beans/src/main/java/io/apiman/gateway/engine/beans/Contract.java