public static boolean isDisableInheritableForkJoinWorkerThreadFactory(@Nullable ForkJoinWorkerThreadFactory threadFactory) {
        return threadFactory instanceof DisableInheritableForkJoinWorkerThreadFactory;
    }
check the {@link ForkJoinWorkerThreadFactory} is {@link DisableInheritableForkJoinWorkerThreadFactory} or not.

@see #getDisableInheritableForkJoinWorkerThreadFactory(ForkJoinWorkerThreadFactory)
@see #getDefaultDisableInheritableForkJoinWorkerThreadFactory()
@see DisableInheritableForkJoinWorkerThreadFactory
@since 2.10.1
ttl2-compatible/src/main/java/com/alibaba/ttl/threadpool/TtlForkJoinPoolHelper.java