@Nullable
    @Contract(value = "null -> null; !null -> !null", pure = true)
    public static ThreadFactory getDisableInheritableThreadFactory(@Nullable ThreadFactory threadFactory) {
        if (threadFactory == null || isDisableInheritableThreadFactory(threadFactory)) return threadFactory;

        return new DisableInheritableThreadFactoryWrapper(threadFactory);
    }
Wrapper of {@link ThreadFactory}, disable inheritable.

@param threadFactory input thread factory
@see DisableInheritableThreadFactory
@see TtlForkJoinPoolHelper#getDisableInheritableForkJoinWorkerThreadFactory
@since 2.10.0
ttl2-compatible/src/main/java/com/alibaba/ttl/threadpool/TtlExecutors.java