public boolean isInitialized ( ) { WeakReference < Holder > ref = local . get ( ) ; if ( ref != null ) { Holder holder = ref . get ( ) ; return holder != null && holder . value != UNINITIALISED ; } else { return false ; } }
Indicates whether thread - local has been initialised for the current thread .