public boolean isFailure() {
        return failure != null;
    }
@return Whether CORS validation failed and the failure flag is set
plugins/cors-policy/src/main/java/io/apiman/plugins/cors_policy/CorsConnector.java