boolean isInOriginalThread() {
        return Thread.currentThread() == originatedThread_.get();
    }
Indicates if the currently executing thread is the one in which this instance has been created.

@return {@code true} if it's the same thread
src/main/java/burp/execjs/CustomAjaxController.java