public static boolean determineObject ( String key ) { if ( ! exists ( ) ) { throwThreadCacheNotInitializedException ( key ) ; } final Object obj = threadLocal . get ( ) . get ( key ) ; return obj != null && ( boolean ) obj ; }
Determine the object as boolean .