public static boolean isNeedReleasePermit(Throwable throwable) {
        for (Class<?> clazz : RELEASE_FLOW_CONTROL_EXCEPTIONS) {
            if (clazz.isAssignableFrom(throwable.getClass())) {
                return true;
            }
        }
        return false;
    }
@Test
    public void testCheckFlowControlException() {
        Assert.assertTrue(FlowControlExceptionUtils
                .isNeedReleasePermit(RequestNotPermitted.createRequestNotPermitted(RateLimiter.ofDefaults(RULE_NAME))));
        Assert.assertTrue(FlowControlExceptionUtils.isNeedReleasePermit(
                CallNotPermittedException.createCallNotPermittedException(CircuitBreaker.ofDefaults(RULE_NAME))));
        Assert.assertFalse(FlowControlExceptionUtils.isNeedReleasePermit(
                BulkheadFullException.createBulkheadFullException(Bulkhead.ofDefaults(RULE_NAME))));
    }