public static boolean isExistAccessContextOnThread ( ) { final Stack < AccessContext > stack = threadLocal . get ( ) ; return stack != null ? ! stack . isEmpty ( ) : false ; }
Is existing prepared access - context on thread?